lib/fcrepo_admin/engine.rb in fcrepo_admin-0.4.1 vs lib/fcrepo_admin/engine.rb in fcrepo_admin-0.5.0
- old
+ new
@@ -6,7 +6,13 @@
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
g.assets false
g.helper false
end
+ config.before_initialize do
+ # load ActiveFedora decorators
+ require 'fcrepo_admin/decorators/active_fedora/base_decorator'
+ require 'fcrepo_admin/decorators/active_fedora/datastream_decorator'
+ end
+
end
end