-
Notifications
You must be signed in to change notification settings - Fork 22k
Closed
Milestone
Description
It seem that this commit (5b3bb61) breaks the generation of routes between engines.
Given two engines (say Admin::Engine
mounted at /admin
and Blog::Engine
mounted at /blog
), any references to Blog's routes from within Admin causes /admin
to be prepended to the generated URL.
- From the Rails application,
blog.root_path
produces/blog
(correct). - From within the Blog engine,
blog.root_path
orroot_path
produces/blog
(correct). - From within the Admin engine,
blog.root_path
produces/admin/blog
(incorrect).
This issue is not present in Rails 3.2.