require "dais/engine"
require "dais/controller"
require "dais/controller_config"
require "dais/context"


Dir[File.join(File.dirname(__FILE__),"locales/*.yml")].each do |yml|
  I18n.load_path << yml
end

module Dais
  module Path
    autoload :PathVisitor, "dais/path/path_visitor"
    autoload :ComponentSet, "dais/path/component_set"
    autoload :Component, "dais/path/component"
  end
  module Field
    autoload :Formatter, "dais/field/formatter"
    autoload :FormInput, "dais/field/form_input"
  end
end
