lib/erd/railtie.rb in erd-0.1.2 vs lib/erd/railtie.rb in erd-0.1.3

- old
+ new

@@ -1,8 +1,11 @@ require 'rails' require 'erd/engine' + module Erd + autoload :Migrator, 'erd/migrator' + class Railtie < ::Rails::Railtie #:nodoc: initializer 'erd' do |app| ActiveSupport.on_load(:after_initialize) do if Rails.env.development? Rails.application.routes.append do