Skip to content

Commit

Permalink
Update names_controller.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Nov 24, 2024
1 parent 0a3468f commit 973ad73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/names_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def network
# GET /names/1/wiki
def wiki
@crumbs = [['Names', names_path], [@name.name_html, @name], 'Wiki source']
@name.check_wikispecies if current_curator? # Force re-check
@name.check_wikispecies if current_user.try(:curator?) # Force re-check
end

# GET /names/new
Expand Down

0 comments on commit 973ad73

Please sign in to comment.