aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/action_controller_overview.textile
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-03-28 22:49:43 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-03-28 22:49:43 -0300
commit54af8dfbfc4122494235d817cd98b83874241215 (patch)
treeb807b51a1d1d2c67bd5695eb114472c500fcbe1e /railties/guides/source/action_controller_overview.textile
parent70779a08a0bec1b890c1b7d77114dedc7f1b69e2 (diff)
downloadrails-54af8dfbfc4122494235d817cd98b83874241215.tar.gz
rails-54af8dfbfc4122494235d817cd98b83874241215.tar.bz2
rails-54af8dfbfc4122494235d817cd98b83874241215.zip
Fix Basic Authentication examples
Diffstat (limited to 'railties/guides/source/action_controller_overview.textile')
-rw-r--r--railties/guides/source/action_controller_overview.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile
index 9dffdce8de..496dc7224b 100644
--- a/railties/guides/source/action_controller_overview.textile
+++ b/railties/guides/source/action_controller_overview.textile
@@ -619,7 +619,7 @@ HTTP basic authentication is an authentication scheme that is supported by the m
<ruby>
class AdminController < ApplicationController
- http_basic_authenticate_with :name => "humbaba", "5baa61e4"
+ http_basic_authenticate_with :name => "humbaba", :password => "5baa61e4"
end
</ruby>