aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/templates
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-02-25 14:57:23 +0100
committerRobin Dupret <robin.dupret@gmail.com>2014-02-26 16:06:11 +0100
commitfc61bca31d899f359671d4b58bceb8b9d6555aa7 (patch)
treed1377c903e19bd68f5fddcbde1cbd9f47ab90c06 /railties/lib/rails/templates
parent6d35190bad0b054c9a1f4c736dc4dda32a7ebc91 (diff)
downloadrails-fc61bca31d899f359671d4b58bceb8b9d6555aa7.tar.gz
rails-fc61bca31d899f359671d4b58bceb8b9d6555aa7.tar.bz2
rails-fc61bca31d899f359671d4b58bceb8b9d6555aa7.zip
Avoid namespacing routes inside engines
Since #11544, invoking the controller generator, any generated route is namespaced according to the class_path method. Since a mountable plugin is namespaced, creating a controller inside would generate a namespaced route based on the engine's name. The controller generator now relies on regular_class_path which does not contain the class hierarchy but the given path. Fixes #14079.
Diffstat (limited to 'railties/lib/rails/templates')
0 files changed, 0 insertions, 0 deletions