Fix where the documentation says "photos", but the example shows "posts" or "comments" by switching both to simply "posts"

This commit is contained in:
Ryan Bigg 2010-11-07 10:33:06 +10:00
parent 203e45cd7f
commit 433e1aca86

@ -426,22 +426,22 @@ def map_method(method, *args, &block)
# PUT /admin/photos/1
# DELETE /admin/photos/1
#
# If you want to route /photos (without the prefix /admin) to
# If you want to route /posts (without the prefix /admin) to
# Admin::PostsController, you could use
#
# scope :module => "admin" do
# resources :posts, :comments
# resources :posts
# end
#
# or, for a single case
#
# resources :posts, :module => "admin"
#
# If you want to route /admin/photos to PostsController
# If you want to route /admin/posts to PostsController
# (without the Admin:: module prefix), you could use
#
# scope "/admin" do
# resources :posts, :comments
# resources :posts
# end
#
# or, for a single case