Closed thombruce closed 4 years ago
Neither the name change nor the removal of Pundit resolved the issue.
Issue remains inability to find render_application
action for ApplicationController
.
It worked prior to making Credible a separate engine...
...but all Credible is asking for is root_url
, which should exist.
Keep digging. I still think it can be resolved by fixing the module. Failing which, worth trying setting up a different root path... A typical one is WelcomeController#index.
Also consider, since JSON routes are now matched first, removal of scope format: false, defaults: { format: 'html' } do
from HTML block might enable the root_url
helper to suddenly find the root to:
again... It's a thought.
Possible to kill two birds with one stone? Removing Pundit might be the key to resolving this issue. It would definitely remove options from the ApplicationController concern...
...which, come to think of, is more than likely the issue. "ApplicationController". It needs a name change!