Sha256: e5ad82d20e522ad70f8b8a71083270beeda2cccb93285767301edba1b6cb9761

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

module ActiveScaffoldExport
  #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_export", :after => "initialize_active_scaffold") do
        ActiveSupport.on_load(:action_controller) do
          require "active_scaffold_export/config/core.rb"
        end
      end

      ActiveSupport.on_load(:action_view) do
        include ActiveScaffold::Helpers::ExportHelpers
      end
    end
  #end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_scaffold_export_vho-3.1.2 lib/active_scaffold_export/engine.rb