diff options
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/engine.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index be63363242..1990aa5261 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -303,6 +303,8 @@ module Rails end end + self.routes.default_scope = {:module => name} + self.namespaced = true end |