diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-07 12:17:36 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-07 12:17:36 +1000 |
commit | ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9 (patch) | |
tree | e1240d1fc9747dc45f64e9af9e70cca8862be63e /actionpack/lib/action_dispatch | |
parent | 7d83673134502b01bcb2fa3be07fdb84c61bb175 (diff) | |
download | rails-ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9.tar.gz rails-ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9.tar.bz2 rails-ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9.zip |
Indent code example for :as option
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index ba0911c635..b39cc5beb6 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -488,9 +488,9 @@ module ActionDispatch # [:as] # Prefixes the routing helpers in this scope with the specified label. # - # scope :as => "sekret" do - # resources :posts - # end + # scope :as => "sekret" do + # resources :posts + # end # # Helpers such as +posts_path+ will now be +sekret_posts_path+ def scope(*args) |