1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

make code example agree with text just above

This commit is contained in:
Ray Baxter 2011-08-31 15:19:06 -07:00
parent 27bcd96246
commit 2422fbf628

View file

@ -1604,7 +1604,7 @@ action, except for +index+ and +show+, so we write that:
<ruby>
class PostsController < ApplicationController
http_basic_authenticate_with :name => "dhh", :password => "secret", :except => :index
http_basic_authenticate_with :name => "dhh", :password => "secret", :except => [:index, :show]
# GET /posts
# GET /posts.json