aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/getting_started.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-08-31 16:10:09 -0700
committerXavier Noria <fxn@hashref.com>2011-08-31 16:10:09 -0700
commite851e9e407c38e5026835471b7440ab7f2947490 (patch)
tree1093183732452a9ef34620d74d9f876a40a08796 /railties/guides/source/getting_started.textile
parent6ce6ba8638f4995e8e7d57b304fc31d6e27ae0e5 (diff)
parentf0af56395288d6081d5b36f599fa6bc8695463d6 (diff)
downloadrails-e851e9e407c38e5026835471b7440ab7f2947490.tar.gz
rails-e851e9e407c38e5026835471b7440ab7f2947490.tar.bz2
rails-e851e9e407c38e5026835471b7440ab7f2947490.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r--railties/guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index d2bfcfdbb4..256df0eded 100644
--- a/railties/guides/source/getting_started.textile
+++ b/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