Sha256: 0d9f74e3542943ff4d7f2dfa9a7b6e37023a45df30b77d00e9d8e8ed19d1a3f6
Contents?: true
Size: 698 Bytes
Versions: 8
Compression:
Stored size: 698 Bytes
Contents
require 'lolita/controllers' ActiveSupport.on_load(:action_controller) { include Lolita::Controllers::UrlHelpers include Lolita::Controllers::ComponentHelpers include Lolita::Extensions } ActiveSupport.on_load(:action_view) { include Lolita::Controllers::UrlHelpers include Lolita::Controllers::ComponentHelpers include Lolita::Controllers::RailsHelpers include Lolita::Extensions } module Lolita class Engine < Rails::Engine config.lolita=Lolita config.i18n.load_path += Dir[File.join(Lolita.root,'config', 'locales','default', '*.{yml}')] config.before_initialize do Haml.init_rails(binding) Haml::Template.options[:format] = :html5 end end end
Version data entries
8 entries across 8 versions & 1 rubygems