Skip to content

Commit

Permalink
s/set_user_token/set_user_by_token on comment (lynndylanhurley#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpeabody authored and Evan-M committed Mar 19, 2018
1 parent ffe66eb commit c47f90a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class TokenValidationsController < DeviseTokenAuth::ApplicationController
before_action :set_user_by_token, :only => [:validate_token]

def validate_token
# @resource will have been set by set_user_token concern
# @resource will have been set by set_user_by_token concern
if @resource
yield @resource if block_given?
render_validate_token_success
Expand Down

0 comments on commit c47f90a

Please sign in to comment.