Sha256: b53130a75d04f9c52018756a0edb4fcb301d38a387bcc9ff7d1124770e9e6028
Contents?: true
Size: 663 Bytes
Versions: 6
Compression:
Stored size: 663 Bytes
Contents
require 'docomo_css' module Galakei class Railtie < Rails::Railtie config.galakei = ActiveSupport::OrderedOptions.new initializer "galakei.extend.action_controller", :after => "docomo_css.extend.action_controller" do |app| ActiveSupport.on_load :action_controller do include Galakei::HelperMethods docomo_filter filters = %w[Views ContentType] 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'
Version data entries
6 entries across 6 versions & 1 rubygems