Sha256: 5567756a038a9e4cbf4884e0bd581f09e9a1afd62beced0529710ebf87bf1865
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
module Galakei class Railtie < ::Rails::Railtie config.galakei = ActiveSupport::OrderedOptions.new initializer "galakei.extend.action_controller" do |app| filters = %w[Views ContentType Recode NonStandardChar] filters << :Haml if defined?(Haml) ActiveSupport.on_load :action_controller do include Galakei::HelperMethods 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' require 'galakei/email/railtie'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
galakei-0.12.1 | lib/galakei/railtie.rb |
galakei-0.12.0 | lib/galakei/railtie.rb |