diff options
author | Diego Plentz <diego@plentz.org> | 2011-05-19 17:38:15 -0700 |
---|---|---|
committer | Diego Plentz <diego@plentz.org> | 2011-05-19 17:38:15 -0700 |
commit | 0d310d590c310ed6551fb38164379a2465caaa89 (patch) | |
tree | a7df1d7df73e38c3bfa6c381596f8f235ef30893 | |
parent | 223f3117f164692595e7c66feaa4df0469ca0f80 (diff) | |
download | rails-0d310d590c310ed6551fb38164379a2465caaa89.tar.gz rails-0d310d590c310ed6551fb38164379a2465caaa89.tar.bz2 rails-0d310d590c310ed6551fb38164379a2465caaa89.zip |
fixes code highlight in shallow_path example
-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 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: # |