app/controllers/api/v1/base_controller.rb
module Api
module V1
class BaseController < ApplicationController
include DeviseTokenAuth::Concerns::SetUserByToken
protect_from_forgery with: :null_session
respond_to :json
skip_before_action :set_locale
alias current_person current_api_v1_person
end
end
end