Permalink
Browse files

Fix indentation for :as option documentation on the namespace method

  • Loading branch information...
1 parent 4ffd31e commit 205b24064e433428babdeb7f14de08f57c5cc789 @radar radar committed with fxn Nov 7, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -569,11 +569,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 205b240

Please sign in to comment.