Skip to content

Commit

Permalink
Force SolrHit options to be indifferent hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Apr 11, 2016
1 parent 70e8514 commit 7259e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/active_fedora/solr_hit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def __setobj__(obj)
attr_reader :document

def initialize(document)
document = document.with_indifferent_access
super
@document = document
end
Expand Down

0 comments on commit 7259e12

Please sign in to comment.