mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix indentation for :as option documentation on the namespace method
This commit is contained in:
@@ -601,11 +601,11 @@ module ActionDispatch
|
||||
# end
|
||||
#
|
||||
# [:as]
|
||||
# Changes the name used in routing helpers for this namespace.
|
||||
# Changes the name used in routing helpers for this namespace.
|
||||
#
|
||||
# namespace :admin, :as => "sekret" do
|
||||
# resources :posts
|
||||
# end
|
||||
# namespace :admin, :as => "sekret" do
|
||||
# resources :posts
|
||||
# end
|
||||
#
|
||||
# Routing helpers such as +admin_posts_path+ will now be +sekret_posts_path+.
|
||||
def namespace(path, options = {})
|
||||
|
||||
Reference in New Issue
Block a user