Skip to content

Commit

Permalink
Silence deprecation
Browse files Browse the repository at this point in the history
Warning was:
```
DEPRECATION WARNING: to_class_uri is deprecated and will be removed from
a future release (use 'to_rdf_representation()' instead).
called from model_class_uri at
/home/travis/build/projecthydra/curation_concerns/app/search_builders/curation_concerns/collection_search_builder.rb:19
```
  • Loading branch information
atz committed Sep 29, 2016
1 parent e01c118 commit 9568e96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def initialize(scope, access = nil)

# @return [String] class URI of the model, as indexed in Solr has_model_ssim field
def model_class_uri
::Collection.to_class_uri
::Collection.to_rdf_representation
end

# @return [String] Solr field name indicating default sort order
Expand Down

0 comments on commit 9568e96

Please sign in to comment.