Permalink
Browse files

fixes code highlight in shallow_path example

  • Loading branch information...
plentz committed May 20, 2011
1 parent 223f311 commit 0d310d590c310ed6551fb38164379a2465caaa89
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1090,11 +1090,11 @@ def resource(*resources, &block)
# [: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:
#

0 comments on commit 0d310d5

Please sign in to comment.