Module: Doorkeeper::Rails::Routes::Helper

Defined in:
lib/doorkeeper/rails/routes.rb

Instance Method Summary collapse

Instance Method Details

#use_doorkeeper(options = {}, &block) ⇒ Object


12
13
14
# File 'lib/doorkeeper/rails/routes.rb', line 12

def use_doorkeeper(options = {}, &block)
  Doorkeeper::Rails::Routes.new(self, &block).generate_routes!(options)
end