diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-31 20:55:50 -0700 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-31 20:55:50 -0700 |
commit | 529d2deb5eaa88eaa9b9002b37ee97ab06617c1a (patch) | |
tree | eb3725eb368845d6082e70c3f4ccf3b487db1567 | |
parent | cd0320416790a865a9fdfeafcd7d192abfef2d3a (diff) | |
download | rails-529d2deb5eaa88eaa9b9002b37ee97ab06617c1a.tar.gz rails-529d2deb5eaa88eaa9b9002b37ee97ab06617c1a.tar.bz2 rails-529d2deb5eaa88eaa9b9002b37ee97ab06617c1a.zip |
Removing trailing white-spaces
-rw-r--r-- | actionpack/lib/action_controller/metal/http_authentication.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb index 2ad571b2b5..6d0c163a9e 100644 --- a/actionpack/lib/action_controller/metal/http_authentication.rb +++ b/actionpack/lib/action_controller/metal/http_authentication.rb @@ -106,7 +106,7 @@ module ActionController module ControllerMethods extend ActiveSupport::Concern - + module ClassMethods def http_basic_authenticate_with(options = {}) before_filter(options.except(:name, :password, :realm)) do @@ -116,7 +116,7 @@ module ActionController end end end - + def authenticate_or_request_with_http_basic(realm = "Application", &login_procedure) authenticate_with_http_basic(&login_procedure) || request_http_basic_authentication(realm) end |