Skip to content

Commit

Permalink
make code example agree with text just above
Browse files Browse the repository at this point in the history
  • Loading branch information
raybaxter committed Aug 31, 2011
1 parent 27bcd96 commit 2422fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/getting_started.textile
Expand Up @@ -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
Expand Down

0 comments on commit 2422fbf

Please sign in to comment.