Fix indentation for :as option documentation on the namespace method

This commit is contained in:
Ryan Bigg
2010-11-07 12:22:39 +10:00
parent ff3a494e2e
commit b591989b5f

View File

@@ -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 = {})