Answer the question
In order to leave comments, you need to log in
Rails Engine, if config.eager_load = false, then gem doesn't load controllers, how to fix it?
If config.eager_load = false
The first thing I thought about was
config.autoload_paths
class Engine < ::Rails::Engine
isolate_namespace TrueandcoAnalytics
config.autoload_paths += Dir["#{config.root}/app/**/*.rb"]
Answer the question
In order to leave comments, you need to log in
routes.rb spelled out?
mount TrueandcoAnalytics::Engine => '/path'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question