From 388f504f6d8c7def28eb88d7f62c9267600e0f56 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 8 May 2007 06:09:14 +0000 Subject: Rendering is protected git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/http_authentication.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/http_authentication.rb b/actionpack/lib/action_controller/http_authentication.rb index 387fa4e695..269858633e 100644 --- a/actionpack/lib/action_controller/http_authentication.rb +++ b/actionpack/lib/action_controller/http_authentication.rb @@ -113,7 +113,7 @@ module ActionController def authentication_request(controller, realm) controller.headers["WWW-Authenticate"] = %(Basic realm="#{realm.gsub(/"/, "")}") - controller.render :text => "HTTP Basic: Access denied.\n", :status => :unauthorized + controller.send :render, :text => "HTTP Basic: Access denied.\n", :status => :unauthorized return false end end -- cgit v1.2.3