app/models/collection/skos/base.rb in iqvoc-4.0.8 vs app/models/collection/skos/base.rb in iqvoc-4.0.9
- old
+ new
@@ -17,10 +17,10 @@
class Collection::SKOS::Base < Collection::Base
self.rdf_namespace = "skos"
self.rdf_class = "Collection"
- def build_rdf_subject(document, controller, &block)
+ def build_rdf_subject(&block)
ns = IqRdf::Namespace.find_namespace_class(self.rdf_namespace)
raise "Namespace '#{base_namespace}' is not defined in IqRdf document." unless ns
subject = IqRdf.build_uri(self.origin, ns.build_uri(self.rdf_class), &block)
# ensure skos:Collection type is present