aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-11-07 12:17:36 +1000
committerRyan Bigg <radarlistener@gmail.com>2010-11-07 12:17:36 +1000
commitee646788fc7f8ce0f087dd0afa82fa28cfdffeb9 (patch)
treee1240d1fc9747dc45f64e9af9e70cca8862be63e
parent7d83673134502b01bcb2fa3be07fdb84c61bb175 (diff)
downloadrails-ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9.tar.gz
rails-ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9.tar.bz2
rails-ee646788fc7f8ce0f087dd0afa82fa28cfdffeb9.zip
Indent code example for :as option
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb6
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)