Skip to content

Commit

Permalink
Revert change: to be addressed in a separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Dec 2, 2024
1 parent 031888f commit 13a25c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ontologies_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def show

# Note: find_by_acronym includes ontology views
@ontology = LinkedData::Client::Models::Ontology.find_by_acronym(params[:ontology], include: 'all').first
not_found if @ontology.nil? || @ontology.errors
not_found if @ontology.nil?

# Handle the case where an ontology is converted to summary only.
# See: https://github.com/ncbo/bioportal_web_ui/issues/133.
Expand Down

0 comments on commit 13a25c3

Please sign in to comment.