Permalink
Browse files

make code example agree with text just above

  • Loading branch information...
1 parent 27bcd96 commit 2422fbf6287f7d97859bc50ec1417b95b0b703d5 @raybaxter raybaxter committed Aug 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/getting_started.textile
@@ -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

0 comments on commit 2422fbf

Please sign in to comment.