Sha256: 5f9bcb3be06ce518f298d4c3bcd816afabb0aa809de77c6666fc4b10f3d10616
Contents?: true
Size: 632 Bytes
Versions: 15
Compression:
Stored size: 632 Bytes
Contents
module Galakei class Railtie < ::Rails::Railtie config.galakei = ActiveSupport::OrderedOptions.new initializer "galakei.extend.action_controller" do |app| ActiveSupport.on_load :action_controller do include Galakei::HelperMethods filters = %w[Views ContentType Recode NonStandardChar] filters << :Haml if defined?(Haml) filters.each {|f| Galakei::Filter.const_get(f).inject(self) } end ActiveSupport.on_load :action_view do include Galakei::InputMode end end end end require 'galakei/session_id_parameter/railtie' require 'galakei/docomo_css/railtie'
Version data entries
15 entries across 15 versions & 1 rubygems