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

Version Path
galakei-0.10.1 lib/galakei/railtie.rb
galakei-0.10.0 lib/galakei/railtie.rb
galakei-0.9.1 lib/galakei/railtie.rb
galakei-0.9.0 lib/galakei/railtie.rb
galakei-0.8.1 lib/galakei/railtie.rb
galakei-0.8.0 lib/galakei/railtie.rb
galakei-0.7.3 lib/galakei/railtie.rb
galakei-0.7.2 lib/galakei/railtie.rb
galakei-0.7.1 lib/galakei/railtie.rb
galakei-0.7.0 lib/galakei/railtie.rb
galakei-0.6.6 lib/galakei/railtie.rb
galakei-0.6.5 lib/galakei/railtie.rb
galakei-0.6.4 lib/galakei/railtie.rb
galakei-0.6.3 lib/galakei/railtie.rb
galakei-0.6.2 lib/galakei/railtie.rb