Permalink
Browse files

added cbeers fix for SolrDocumentExtension

  • Loading branch information...
1 parent 0302ae7 commit 2c03f156619401180ccf84ea8b5945b00359663c @jcoyne jcoyne committed Jul 24, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 hydra-core/lib/hydra.rb
@@ -23,5 +23,8 @@ module Models
end
-SolrDocument.use_extension Hydra::ModelMixins::SolrDocumentExtension if defined? SolrDocument
+begin
+ SolrDocument.use_extension Hydra::ModelMixins::SolrDocumentExtension
+rescue NameError
+end

0 comments on commit 2c03f15

Please sign in to comment.