asciinema.org/app/controllers/api/base_controller.rb

14 lines
187 B
Ruby
Raw Normal View History

module Api
class BaseController < ApplicationController
skip_before_filter :verify_authenticity_token
private
2014-03-16 15:03:33 +00:00
def warden_strategies
[:api_token]
end
end
end