diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-05-08 06:09:14 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-05-08 06:09:14 +0000 |
commit | 388f504f6d8c7def28eb88d7f62c9267600e0f56 (patch) | |
tree | 2f9df66fdf0769f4d2372693a08cc8c93603ccb3 /actionpack/lib | |
parent | 20eb59ad8a9e97a5bbb68df1ba2f15914c26a358 (diff) | |
download | rails-388f504f6d8c7def28eb88d7f62c9267600e0f56.tar.gz rails-388f504f6d8c7def28eb88d7f62c9267600e0f56.tar.bz2 rails-388f504f6d8c7def28eb88d7f62c9267600e0f56.zip |
Rendering is protected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/http_authentication.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |