Permalink
Browse files

Removing trailing white-spaces

  • Loading branch information...
1 parent 8ac4e4d commit 48b90967b0fb0ba3201b0167cb6416cbb971326f @guilleiguaran guilleiguaran committed with fxn 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 48b9096

Please sign in to comment.