See the scope method for documentation for namespace's shallow_path option

This commit is contained in:
Ryan Bigg
2010-11-13 11:16:06 +08:00
parent b235519777
commit 95f41fe12e

View File

@@ -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,