asciinema.org/app/controllers/api/base_controller.rb
2014-03-16 16:03:33 +01:00

14 lines
187 B
Ruby

module Api
class BaseController < ApplicationController
skip_before_filter :verify_authenticity_token
private
def warden_strategies
[:api_token]
end
end
end