lib/ddr/models/solr_document.rb in ddr-models-2.1.0 vs lib/ddr/models/solr_document.rb in ddr-models-2.1.1

- old
+ new

@@ -92,9 +92,10 @@ def admin_policy_pid uri = admin_policy_uri uri &&= ActiveFedora::Base.pid_from_uri(uri) end + alias_method :admin_policy_id, :admin_policy_pid def admin_policy if has_admin_policy? self.class.find(admin_policy_uri) end