clarion/app/controllers/concerns/public_api_exposing.rb
Vencislav Atanasov b732aff523 Add CORS header in order to access the public API from JavaScript
(I have no idea what I'm doing)
2016-11-04 15:34:44 +02:00

10 lines
162 B
Ruby

require 'active_support/concern'
module PublicApiExposing
extend ActiveSupport::Concern
included do
before_action :set_access_control_headers
end
end