diff --git a/app/serializers/activity_serializer.rb b/app/serializers/activity_serializer.rb index bf02a6925..2b9f70200 100644 --- a/app/serializers/activity_serializer.rb +++ b/app/serializers/activity_serializer.rb @@ -14,7 +14,7 @@ class ActivitySerializer attribute "prov:wasAttributedTo" do |object| url = Rails.env.production? ? "https://api.datacite.org" : "https://api.test.datacite.org" - object.username.include?(".") ? url + "/clients" + object.username : url + "/providers/" + object.username + object.username.include?(".") ? url + "/clients/" + object.username : url + "/providers/" + object.username end attribute "prov:wasGeneratedBy" do |object| diff --git a/config/initializers/_version.rb b/config/initializers/_version.rb index 84c0bd907..c6a694a36 100644 --- a/config/initializers/_version.rb +++ b/config/initializers/_version.rb @@ -1,6 +1,6 @@ module Lupo class Application - VERSION = "2.3.40" + VERSION = "2.3.41" REVISION = `git rev-parse HEAD` end end \ No newline at end of file