Sha256: a2e6df81fa59cf4fd62fd609ac5d6b6afcbb97cab6209c661be0ef7b2f318b0f

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
crystal-0.0.13 lib/crystal/router.rb
crystal-0.0.12 lib/crystal/router.rb
crystal_ext-0.0.11 lib/crystal/router.rb