Browse files

Fix indentation for :as option documentation on the namespace method

  • Loading branch information...
1 parent ff3a494 commit b591989b5ff472301ba0c99d41268e9682a0651f @radar radar committed Nov 7, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_dispatch/routing/mapper.rb
View
8 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -601,11 +601,11 @@ def controller(controller, options={})
# 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 = {})

0 comments on commit b591989

Please sign in to comment.