Permalink
Browse files

See the scope method for documentation for namespace's shallow_path o…

…ption
  • Loading branch information...
1 parent b235519 commit 95f41fe12e7680459351be633a171abf26beac1a @radar radar committed Nov 13, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -625,6 +625,9 @@ def controller(controller, options={})
# 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,

0 comments on commit 95f41fe

Please sign in to comment.