require 'crystal/conveyor' %w( configurator router routing_helper default_router named_router default_format_processor processors/router ).each{|f| require "crystal/router/#{f}"} Crystal::Config::DEFAULTS.merge!({ :default_path => '/' }.stringify_keys) Crystal.metaclass do delegate :routes, :to => Crystal::Routes::Configurator end