Sha256: b2c83eabd3e293a50005dbae79e05fe026383a051c99c85a11a393ba5bc3dd7a

Contents?: true

Size: 809 Bytes

Versions: 2

Compression:

Stored size: 809 Bytes

Contents

ActiveScaffold rescue throw "should have included ActiveScaffold plug in first.  Please make sure that this plug-in comes alphabetically after the ActiveScaffold plug-in"

require 'active_scaffold_export/engine'
require 'active_scaffold_export/version'

# Load our overrides
require "active_scaffold_export/config/core.rb"

module ActiveScaffoldExport
  def self.root
    File.dirname(__FILE__) + "/.."
  end
end

module ActiveScaffold
  module Actions
    ActiveScaffold.autoload_subdir('actions', self, File.dirname(__FILE__))
  end

  module Config
    ActiveScaffold.autoload_subdir('config', self, File.dirname(__FILE__))
  end

  module Helpers
    ActiveScaffold.autoload_subdir('helpers', self, File.dirname(__FILE__))
  end
end

ActionView::Base.send(:include, ActiveScaffold::Helpers::ExportHelpers)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_scaffold_export_vho-3.1.1 lib/active_scaffold_export.rb
active_scaffold_export_vho-3.1.0 lib/active_scaffold_export.rb