class Doorkeeper::Rails::Routes
def generate_routes!(options)
def generate_routes!(options) @mapping = Mapper.new.map(&@options) routes.scope 'oauth', :as => 'oauth' do map_route(:authorizations, :authorization_routes) map_route(:tokens, :token_routes) map_route(:applications, :application_routes) map_route(:authorized_applications, :authorized_applications_routes) map_route(:token_info, :token_info_routes) end end