Sha256: b1f37a5235a2003d9634e38e7e8587f7b38f472d38485f0006332606e1396ed5
Contents?: true
Size: 334 Bytes
Versions: 4
Compression:
Stored size: 334 Bytes
Contents
module SortableNestedSet class Engine < Rails::Engine initializer 'nested_fields.add_middleware' do |app| require 'acts_as_sortable_nested_set' app.middleware.use ActionDispatch::Static, "#{root}/public" end config.to_prepare do ApplicationController.helper(SortableNestedSetHelper) end end end
Version data entries
4 entries across 4 versions & 1 rubygems