lib/administrate/engine.rb in administrate-0.5.0 vs lib/administrate/engine.rb in administrate-0.6.0

- old
+ new

@@ -14,18 +14,24 @@ require "administrate/page/collection" require "administrate/order" require "administrate/resource_resolver" require "administrate/search" require "administrate/namespace" +require "administrate/namespace/resource" module Administrate class Engine < ::Rails::Engine isolate_namespace Administrate @@javascripts = [] @@stylesheets = [] - Engine.config.assets.precompile << /\.(?:svg)\z/ + Engine.config.assets.precompile << %w( + administrate/cancel.svg + administrate/dropdown.svg + administrate/search.svg + administrate/sort_arrow.svg + ) def self.add_javascript(script) @@javascripts << script end