Sha256: 4b9cc80902cb5bd86a2f8c0c409d2d7a69fabea2be157ac5b901b953b25b8146

Contents?: true

Size: 546 Bytes

Versions: 6

Compression:

Stored size: 546 Bytes

Contents

require 'docomo_css'

module Galakei
  module SessionIdParameter
    class Railtie < Rails::Railtie
      config.galakei.session_id_parameter = false
      initializer "galakei.session_id_parameter" do |app|
        if app.config.galakei.session_id_parameter
          ActiveSupport.on_load :action_controller do
            before_filter Galakei::SessionIdParameter::InUrl
          end
          ActiveSupport.on_load :action_view do
            include Galakei::SessionIdParameter::InForm
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
galakei-0.3.8 lib/galakei/session_id_parameter/railtie.rb
galakei-0.3.7 lib/galakei/session_id_parameter/railtie.rb
galakei-0.3.6 lib/galakei/session_id_parameter/railtie.rb
galakei-0.3.5 lib/galakei/session_id_parameter/railtie.rb
galakei-0.3.4 lib/galakei/session_id_parameter/railtie.rb
galakei-0.3.3 lib/galakei/session_id_parameter/railtie.rb