We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbaf412 commit 02a430bCopy full SHA for 02a430b
lib/kracken/controllers/token_authenticatable.rb
@@ -11,8 +11,6 @@ def self.included(base)
11
before_action :authenticate_user_with_token!
12
helper_method :current_user
13
end
14
-
15
16
17
18
attr_reader :current_user
@@ -23,7 +21,7 @@ def request_http_token_authentication(realm = 'Application')
23
21
raise TokenUnauthorized, "Invalid Credentials"
24
22
25
26
- private
+ private
27
28
# `authenticate_or_request_with_http_token` is a nice Rails helper:
29
# http://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Token/ControllerMethods.html#method-i-authenticate_or_request_with_http_token
0 commit comments