Skip to content

Commit

Permalink
update doi creation to redirect to EcoPortal not the the original URI
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Dec 12, 2024
1 parent 9bba309 commit a87a0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/doi_request_administration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def data_cite_metadata_json(ontology, ont_submission_id, current_user, portal_na
json[:publisher] ||= portal_name
json[:creators] ||= [{ name: current_user }]

json[:url] = json[:url] || (helpers.ontologies_url + '/' + ontology_acronym)
json[:url] = "#{helpers.ontologies_url}/#{ontology_acronym}"
json
end

Expand Down

0 comments on commit a87a0ed

Please sign in to comment.