diff --git a/app/controllers/api/v1/users_controller.rb b/app/controllers/api/v1/users_controller.rb index 1383e9e..b329b7b 100644 --- a/app/controllers/api/v1/users_controller.rb +++ b/app/controllers/api/v1/users_controller.rb @@ -21,6 +21,8 @@ class Api::V1::UsersController < ApplicationController # TODO :add some functionality to check if the HTTP Header is valid if !identify_user(token) redirect_to root_url + else + true end end end