Skip to content

Commit

Permalink
Fix indentation for :as option documentation on the namespace method
Browse files Browse the repository at this point in the history
  • Loading branch information
radar authored and fxn committed Nov 15, 2010
1 parent 4ffd31e commit 205b240
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actionpack/lib/action_dispatch/routing/mapper.rb
Expand Up @@ -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 = {})
Expand Down

0 comments on commit 205b240

Please sign in to comment.