diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-07 12:22:39 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-07 12:22:39 +1000 |
commit | b591989b5ff472301ba0c99d41268e9682a0651f (patch) | |
tree | b1934a1a9d99aacf70fd1cd73fabe9a6ee55e0cc /actionpack/lib | |
parent | ff3a494e2e3cf52193d42ba7ed8252759de57c01 (diff) | |
download | rails-b591989b5ff472301ba0c99d41268e9682a0651f.tar.gz rails-b591989b5ff472301ba0c99d41268e9682a0651f.tar.bz2 rails-b591989b5ff472301ba0c99d41268e9682a0651f.zip |
Fix indentation for :as option documentation on the namespace method
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index a7d85dd3b5..2b3c20f6b9 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -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 = {}) |