Sha256: 0ff05f7e2a1ab74035c6d126779d733efdead77cbdef1fce67238d6f192e6c19

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

require "active_scaffold_sortable/config/core.rb"
require "active_scaffold_sortable/core.rb"
require "active_scaffold_sortable/attribute_params.rb"
require "active_scaffold_sortable/engine.rb" unless defined? ACTIVE_SCAFFOLD_SORTABLE_PLUGIN

module ActiveScaffoldSortable
  def self.root
    File.dirname(__FILE__) + "/.."
  end
  autoload 'ViewHelpers', 'active_scaffold_sortable/view_helpers.rb'
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, ActiveScaffoldSortable::ViewHelpers
ActiveScaffold::Config::Core.send :include, ActiveScaffoldSortable::Core
ActiveScaffold::AttributeParams.send :include, ActiveScaffoldSortable::AttributeParams
ActiveScaffold.stylesheets << 'active_scaffold_sortable'
ActiveScaffold.javascripts << 'active_scaffold_sortable'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_scaffold_sortable-3.3.0 lib/active_scaffold_sortable.rb
active_scaffold_sortable-3.2.13 lib/active_scaffold_sortable.rb
active_scaffold_sortable-3.2.12 lib/active_scaffold_sortable.rb
active_scaffold_sortable-3.2.11 lib/active_scaffold_sortable.rb