aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/http_authentication.rb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2011-05-31 20:55:50 -0700
committerGuillermo Iguaran <guilleiguaran@gmail.com>2011-05-31 20:55:50 -0700
commit529d2deb5eaa88eaa9b9002b37ee97ab06617c1a (patch)
treeeb3725eb368845d6082e70c3f4ccf3b487db1567 /actionpack/lib/action_controller/metal/http_authentication.rb
parentcd0320416790a865a9fdfeafcd7d192abfef2d3a (diff)
downloadrails-529d2deb5eaa88eaa9b9002b37ee97ab06617c1a.tar.gz
rails-529d2deb5eaa88eaa9b9002b37ee97ab06617c1a.tar.bz2
rails-529d2deb5eaa88eaa9b9002b37ee97ab06617c1a.zip
Removing trailing white-spaces
Diffstat (limited to 'actionpack/lib/action_controller/metal/http_authentication.rb')
-rw-r--r--actionpack/lib/action_controller/metal/http_authentication.rb4
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