From c47f90af97eb581bb9bd60b8420366eeeef8eecf Mon Sep 17 00:00:00 2001 From: Marc Peabody Date: Thu, 1 Feb 2018 14:52:11 -0500 Subject: [PATCH] s/set_user_token/set_user_by_token on comment (#1078) --- .../devise_token_auth/token_validations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/devise_token_auth/token_validations_controller.rb b/app/controllers/devise_token_auth/token_validations_controller.rb index 8c26932c8..fccc8cafc 100644 --- a/app/controllers/devise_token_auth/token_validations_controller.rb +++ b/app/controllers/devise_token_auth/token_validations_controller.rb @@ -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