Sha256: 7d4b1e75ae8c1148759f66f6e52e1df7467cf7540fc11b2a9512ba74363b6f43
Contents?: true
Size: 531 Bytes
Versions: 25
Compression:
Stored size: 531 Bytes
Contents
require 'netzke/core' module Netzke autoload :Plugin, 'netzke/plugin' autoload :Base, 'netzke/base' end # Rails specific if defined? ::Rails require 'netzke/core/railz' ActiveSupport.on_load(:action_controller) do include Netzke::Railz::ControllerExtensions end ActiveSupport.on_load(:action_view) do include Netzke::Railz::ActionViewExt end ActiveSupport.on_load(:after_initialize) do Netzke::Base.logger = Rails.logger end else require 'logger' Netzke::Base.logger = Logger.new(STDOUT) end
Version data entries
25 entries across 25 versions & 1 rubygems