Sha256: 6e54081616c6efdf70a58e94bcbb88a3c9d65e482c83512304bc04d640d050e4

Contents?: true

Size: 850 Bytes

Versions: 6

Compression:

Stored size: 850 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
abstract_interface-0.1.7 lib/abstract_interface.rb
abstract_interface-0.1.6 lib/abstract_interface.rb
abstract_interface-0.1.5 lib/abstract_interface.rb
abstract_interface-0.1.3 lib/abstract_interface.rb
abstract_interface-0.1.1 lib/abstract_interface.rb
abstract_interface-0.1.0 lib/abstract_interface.rb