Skip to content

Commit

Permalink
fix hanging line on method call
Browse files Browse the repository at this point in the history
  • Loading branch information
robhurring committed Feb 9, 2013
1 parent 3025b7e commit 22a8cfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/devise/strategies/token_authenticatable.rb
Expand Up @@ -48,8 +48,7 @@ def params_auth_hash
end

if mapping.to.allow_authorization_to_set_auth_token
token = ActionController::HttpAuthentication::Token
.token_and_options(request)
token = ActionController::HttpAuthentication::Token.token_and_options(request)

if token
return_params.merge! auth_key => token.first
Expand Down

0 comments on commit 22a8cfe

Please sign in to comment.