asciinema.org/app/controllers/api/base_controller.rb
2015-10-08 12:43:10 +00:00

17 lines
230 B
Ruby

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