Skip to content

Commit

Permalink
Fix typo in 'visible' method call
Browse files Browse the repository at this point in the history
  • Loading branch information
arfon authored Nov 18, 2024
1 parent 21a0149 commit 4287704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/badges_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BadgesController < ApplicationController
}

def reviewed_by
n_reviews = Paper.visibile.where(":reviewer = ANY (reviewers)", reviewer: params[:reviewer]).count
n_reviews = Paper.visible.where(":reviewer = ANY (reviewers)", reviewer: params[:reviewer]).count
@key = string_item("JOSS Reviews", COLORS[:gray])
@value = string_item(n_reviews.to_s, COLORS[:blue], @key[:outer_width])
@badge_width = @key[:outer_width] + @value[:outer_width]
Expand Down

0 comments on commit 4287704

Please sign in to comment.