Sha256: 31c1c2083a8a30749be8d0408d0d80c2b62b19b900ee30cdf4bfbad8bafedcb7

Contents?: true

Size: 759 Bytes

Versions: 3

Compression:

Stored size: 759 Bytes

Contents

require 'crystal/conveyor'
require 'crystal/template'

%w(  
  abstract_controller/render
  abstract_controller/responder
  abstract_controller/micelaneous
  abstract_controller
  controller_context
  
  processors/controller_logger
  processors/controller_caller  
  processors/controller_error_handling
).each{|f| require "crystal/controller/#{f}"}

module Crystal
  autoload :HttpController, 'crystal/controller/http_controller'
end

# 
# Initialization
# 
Crystal::Config::DEFAULTS.merge!({
  :development_error_template => "/crystal_default_templates/development/error",
  :production_error_template => nil,
  :test_error_template => "/crystal_default_templates/development/error",
}.stringify_keys)
Crystal::Config::DEFAULTS['default_method'] ||= 'call'

Version data entries

3 entries across 3 versions & 2 rubygems

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