Sha256: dbdf9035a33e15534e04a184054d44b4eae69a4cbc4eb2a5d727b2c0b3950003
Contents?: true
Size: 585 Bytes
Versions: 5
Compression:
Stored size: 585 Bytes
Contents
require 'activeadmin' module ActiveAdmin module SortableTree class Engine < ::Rails::Engine engine_name 'active_admin-sortable_tree' initializer "Rails precompile hook", group: :all do |app| app.config.assets.precompile += [ "active_admin/sortable.css", "active_admin/sortable.js" ] end initializer "add assets" do ActiveAdmin.application.register_stylesheet "active_admin/sortable.css" ActiveAdmin.application.register_javascript "active_admin/sortable.js" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems