5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-29 22:56:21 +00:00
panel/app/controllers/api/v1/base_controller.rb

12 lines
202 B
Ruby
Raw Permalink Normal View History

2019-09-05 18:56:24 +00:00
# frozen_string_literal: true
module Api
module V1
# API
class BaseController < ActionController::Base
protect_from_forgery with: :null_session
2019-09-06 23:40:33 +00:00
respond_to :json
2019-09-05 18:56:24 +00:00
end
end
end