John's answer is right, but I would fix it a bit:
When you mount your engine in the routes file, first add an alias.
mount YourEngineNameHere::Engine => '/optional_namespace', as: 'your_engine_name'
Then do your_engine_name.root_url
Nick Res 04 Oct '17 at 18:49 2017-10-04 18:49
source share