lib/simple_admin/engine.rb in simple_admin-0.2.1 vs lib/simple_admin/engine.rb in simple_admin-0.3.0

- old
+ new

@@ -2,10 +2,10 @@ require 'rails' module SimpleAdmin class Engine < Rails::Engine isolate_namespace SimpleAdmin - initializer 'simple_admin' do + initializer 'simple_admin' do |app| if Rails.env == "development" simple_admin_reloader = ActiveSupport::FileUpdateChecker.new(Dir["app/admin/**/*"], true) do SimpleAdmin.unregister Rails.application.reload_routes! end