summaryrefslogtreecommitdiff
path: root/app/controllers/api/api_controller.rb
blob: 69547006464a5d27d514f15dcd76d7638e2ddbf1 (plain)
1
2
3
4
5
6
7
8
9
10
module Api
  class ApiController < ActionController::Base
    protect_from_forgery with: :null_session
    protected

    def publish(message)
      Publisher.publish(message)
    end
  end
end