Sha256: 0507ffabecefe809ad2a97a7166ad3c47a5cf4a2196965e9a21d0bf7a9f97405
Contents?: true
Size: 709 Bytes
Versions: 2
Compression:
Stored size: 709 Bytes
Contents
module ActiveScaffoldSortable class Engine < ::Rails::Engine initializer 'active_scaffold_sortable.routes' do ActiveSupport.on_load :active_scaffold_routing do self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:reorder] = :post end end initializer 'active_scaffold_sortable.action_view' do ActiveSupport.on_load :action_view do ActionView::Base.send :include, ActiveScaffoldSortable::ViewHelpers end end initializer 'active_scaffold_sortable.extensions' do ActiveScaffold::Config::Core.send :prepend, ActiveScaffoldSortable::Core ActiveScaffold::AttributeParams.send :prepend, ActiveScaffoldSortable::AttributeParams end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_scaffold_sortable-3.6.0 | lib/active_scaffold_sortable/engine.rb |
active_scaffold_sortable-3.5.0 | lib/active_scaffold_sortable/engine.rb |