From 54af8dfbfc4122494235d817cd98b83874241215 Mon Sep 17 00:00:00 2001
From: Sebastian Martinez <sebastian@wyeworks.com>
Date: Mon, 28 Mar 2011 22:49:43 -0300
Subject: Fix Basic Authentication examples

---
 railties/guides/source/action_controller_overview.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/action_controller_overview.textile')

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>
 
-- 
cgit v1.2.3

