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'