asciinema.org/app/controllers/api/base_controller.rb
2015-04-04 17:46:55 +00:00

16 lines
206 B
Ruby

require 'authentication/warden_authentication'
module Api
class BaseController < ActionController::Base
include WardenAuthentication
private
def warden_scope
:api
end
end
end