module RailsAdminOrderItems
  class Engine < ::Rails::Engine
  end
end
module RailsAdminOrderItems
  class Engine < ::Rails::Engine
    initializer "RailsAdminOrderItems precompile hook" do |app|
      app.config.assets.precompile += ['rails_admin/order_items.js']
    end
  end
end
Add precompile hook so js file is precmpiled and does not throw 500 error in prode env !
Add precompile hook so js file is precmpiled and does not throw 500 error in prode env !
