Sha256: 7762e1c1ec7f66f8af91bae9b4358ef8c6b7462afd608debd87fa027f7ab2c73
Contents?: true
Size: 663 Bytes
Versions: 18
Compression:
Stored size: 663 Bytes
Contents
module Doorkeeper module OpenidConnect module Rails class Routes class Mapper def initialize(mapping = Mapping.new) @mapping = mapping end def map(&block) instance_eval(&block) if block @mapping end def controllers(controller_names = {}) @mapping.controllers.merge!(controller_names) end def skip_controllers(*controller_names) @mapping.skips = controller_names end def as(alias_names = {}) @mapping.as.merge!(alias_names) end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems