diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-13 11:16:06 +0800 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-13 11:16:06 +0800 |
commit | 95f41fe12e7680459351be633a171abf26beac1a (patch) | |
tree | de6bca7a169671b56bab5bc78067bea58b20144b /actionpack/lib/action_dispatch/routing | |
parent | b235519777b921c0ecf4e20fbeb5f5fe49459775 (diff) | |
download | rails-95f41fe12e7680459351be633a171abf26beac1a.tar.gz rails-95f41fe12e7680459351be633a171abf26beac1a.tar.bz2 rails-95f41fe12e7680459351be633a171abf26beac1a.zip |
See the scope method for documentation for namespace's shallow_path option
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index c3f778a70f..cc013ac072 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -625,6 +625,9 @@ module ActionDispatch # end # # Routing helpers such as +admin_posts_path+ will now be +sekret_posts_path+. + # + # [:shallow_path] + # See the +scope+ method. def namespace(path, options = {}) path = path.to_s options = { :path => path, :as => path, :module => path, |