Skip to content

Commit

Permalink
fix multislashes added in browse page federation links
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Nov 26, 2024
1 parent f095c59 commit 2c1d38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/federation_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def ontoportal_ui_link(id)
ui_link = config[:ui]
api_link = config[:api]

id.gsub(api_link, "#{ui_link}/") rescue id
id.gsub(api_link, "#{ui_link}") rescue id
end

def internal_ontology?(id)
Expand Down

0 comments on commit 2c1d38b

Please sign in to comment.