Skip to content

Commit

Permalink
Preserve classes for document presenter and search builder
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Feb 24, 2015
1 parent ae5b46c commit b1cb3e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/blacklight/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ def deep_copy
copy.repository_class = self.repository_class
copy.response_model = self.response_model
copy.document_model = self.document_model
copy.document_presenter_class = self.document_presenter_class
copy.search_builder_class = self.search_builder_class
end
end
alias_method :inheritable_copy, :deep_copy
Expand Down

0 comments on commit b1cb3e9

Please sign in to comment.