Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make code example agree with text just above

  • Loading branch information...
commit 2422fbf6287f7d97859bc50ec1417b95b0b703d5 1 parent 27bcd96
@raybaxter raybaxter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/getting_started.textile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.