lib/active_admin/engine.rb in activeadmin-3.0.0 vs lib/active_admin/engine.rb in activeadmin-3.1.0

- old
+ new

@@ -19,7 +19,11 @@ end initializer "active_admin.routes" do require "active_admin/helpers/routes/url_helpers" end + + initializer "active_admin.deprecator" do |app| + app.deprecators[:activeadmin] = ActiveAdmin.deprecator if app.respond_to?(:deprecators) + end end end