Sha256: a1127dd22e26a009aafc5b132c8bc2b9c000c600a41a92e37a3f31c9c2ce6834

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

require 'rad/conveyor'

%w(
  configurator
  simple_router
  router
  default_format_processor  
  
  core_routing_helper  
  
  processors/router  
).each{|f| require "rad/router/core/#{f}"}

# {AliasRouter: 'alias_router', RestfulRouter: 'restful_router'}.each do |klass, path|
#   Rad.autoload klass, "rad/router/routers/#{path}"
# end
%w(
  abstract_router
  alias_router
  restful_router
).each{|f| require "rad/router/routers/#{f}"}

Rad::Config::DEFAULTS.merge!(
  default_path: '/'
)

Rad.metaclass do
  delegate :routes, to: Rad::Routes::Configurator
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_core-0.0.13 lib/rad/router.rb