require 'abstract_interface/support' module AbstractInterface THEMES_DIR = 'themes' autoload :Theme, 'abstract_interface/theme' autoload :HamlBuilder, 'abstract_interface/haml_builder' autoload :ThemedFormHelper, 'abstract_interface/themed_form_helper' autoload :ViewBuilder, 'abstract_interface/view_builder' autoload :ViewHelper, 'abstract_interface/view_helper' autoload :ControllerHelper, 'abstract_interface/controller_helper' end require 'abstract_interface/abstract_interface' Crystal::ControllerContext.inherit AbstractInterface::ViewHelper Crystal::AbstractController.inherit AbstractInterface::ControllerHelper # TODO2 # ActionView::Base.field_error_proc = lambda do |html_tag, instance| # html_tag # end # TODO1 # Rails.development{RailsExt.create_public_symlinks!} # rails_ext.css, rails_ext.js in development mode