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