You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you also add your path to the controller_path, it should resolve your issue
ActionController::Routing.controller_paths << #{RAILS_ROOT}/app/controllers/admin/nomenclature
Hello,
I have moved a lot of my controllers in separate folder by adding this in environment.rb
config.load_paths += %W(
#{RAILS_ROOT}/app/controllers/admin/nomenclature
)
but then the rails-footnotes can't manage to find the controller
in lib/rails-footnotes/notes/controller_note.rb on ActionController::Routing.controller_paths line 30
to fix this I have to add this in environment.rb
ActionController::Routing.controller_paths << "#{RAILS_ROOT}/app/controllers/admin/nomenclature"
I am writting this just to save time for someone else or to help you improve this code block
10x for the nice gem!
The text was updated successfully, but these errors were encountered: