Permalink
Browse files

Removing trailing white-spaces

  • Loading branch information...
1 parent cd03204 commit 529d2deb5eaa88eaa9b9002b37ee97ab06617c1a @guilleiguaran guilleiguaran committed Jun 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/metal/http_authentication.rb
@@ -106,7 +106,7 @@ module Basic
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 @@ def http_basic_authenticate_with(options = {})
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

0 comments on commit 529d2de

Please sign in to comment.