Sha256: 5a8707fc92eaae8c45f40a8c7fcea8397dde45688eb187705c3ca99e23b4ec6f

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

module ActiveScaffoldConfigList
  #do not use module Rails... cause Rails.logger will fail
  # not sure if it is a must though...
  #module Rails
    class Engine < ::Rails::Engine
      initializer("initialize_active_scaffold_config_list", :after => "initialize_active_scaffold") do
        ActiveSupport.on_load(:action_controller) do
          require "active_scaffold_config_list/config/core.rb"
        end

        ActiveSupport.on_load(:action_view) do
          require "active_scaffold/helpers/config_list_helpers.rb"
          include ActiveScaffold::Helpers::ConfigListHelpers
        end
      end
    end
  #end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_scaffold_config_list_vho-3.1.2 lib/active_scaffold_config_list/engine.rb