提交 529d2deb 编写于 作者: G Guillermo Iguaran

Removing trailing white-spaces

上级 cd032041
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册