Skip to content

Commit

Permalink
fix concept purl url not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jan 9, 2025
1 parent 580ecae commit 7d3480b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/concepts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def show_concept
@submission = get_ontology_submission_ready(@ontology)
@concept = @ontology.explore.single_class({full: true, lang: helpers.request_lang(@submission)}, params[:id])

@current_purl = @concept.purl if Rails.configuration.settings.purl[:enabled]

not_found if @concept.nil?
gather_details
render :partial => 'show'
Expand Down

0 comments on commit 7d3480b

Please sign in to comment.