Sha256: 48d18253103735e2b74b70f06a9630b08ed488f9a34161a317fa57fa1add7d90

Contents?: true

Size: 733 Bytes

Versions: 3

Compression:

Stored size: 733 Bytes

Contents

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

module ActiveScaffoldSortable
  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

ActiveScaffold::Config::Core.send :include, ActiveScaffoldSortable::Core
ActiveScaffold.stylesheets << 'active_scaffold_sortable'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_scaffold_sortable-3.1.2 lib/active_scaffold_sortable.rb
active_scaffold_sortable-3.1.1 lib/active_scaffold_sortable.rb
active_scaffold_sortable-3.1.0 lib/active_scaffold_sortable.rb