aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/mapper.rb
diff options
context:
space:
mode:
authorDiego Plentz <diego@plentz.org>2011-05-19 17:38:15 -0700
committerDiego Plentz <diego@plentz.org>2011-05-19 17:38:15 -0700
commit0d310d590c310ed6551fb38164379a2465caaa89 (patch)
treea7df1d7df73e38c3bfa6c381596f8f235ef30893 /actionpack/lib/action_dispatch/routing/mapper.rb
parent223f3117f164692595e7c66feaa4df0469ca0f80 (diff)
downloadrails-0d310d590c310ed6551fb38164379a2465caaa89.tar.gz
rails-0d310d590c310ed6551fb38164379a2465caaa89.tar.bz2
rails-0d310d590c310ed6551fb38164379a2465caaa89.zip
fixes code highlight in shallow_path example
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/mapper.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb8
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 3ba6094fbb..8af4971e69 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1090,11 +1090,11 @@ module ActionDispatch
# [:shallow_path]
# Prefixes nested shallow routes with the specified path.
#
- # scope :shallow_path => "sekret" do
- # resources :posts do
- # resources :comments, :shallow => true
+ # scope :shallow_path => "sekret" do
+ # resources :posts do
+ # resources :comments, :shallow => true
+ # end
# end
- # end
#
# The +comments+ resource here will have the following routes generated for it:
#