lib/active_annotations/engine.rb in active_annotations-0.3.0 vs lib/active_annotations/engine.rb in active_annotations-0.4.0
- old
+ new
@@ -1,9 +1,5 @@
-if defined?(Rails)
- module ActiveAnnotations
- class Engine < Rails::Engine
- config.autoload_paths += Dir["#{config.root}/app/models/**/"]
-
- engine_name 'active_annotations'
- end
+module ActiveAnnotations
+ class Engine < Rails::Engine
+ engine_name 'active_annotations'
end
end