mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
See the scope method for documentation for namespace's shallow_path option
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user