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:
parent
27bcd96246
commit
2422fbf628
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue