1
0
Fork 0
dokkan-data-rails/app/controllers/api/v1/base_controller.rb

12 lines
217 B
Ruby
Raw Normal View History

class Api::V1::BaseController < ApplicationController
protect_from_forgery with: :null_session
before_action :destroy_session
private
def destroy_session
request.session_options[:skip] = true
end
end