diff --git a/app/controllers/concepts_controller.rb b/app/controllers/concepts_controller.rb index 4e22ea63e..254cd1da9 100644 --- a/app/controllers/concepts_controller.rb +++ b/app/controllers/concepts_controller.rb @@ -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'