mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
removed unnecessary line
This commit is contained in:
@@ -27,7 +27,6 @@ class Brewery < ApplicationRecord
|
||||
end
|
||||
|
||||
return total_score / count
|
||||
"This brewery has #{count} #{pluralize count, "rating"} with an average of #{average}"
|
||||
end
|
||||
|
||||
def count_ratings
|
||||
|
||||
Reference in New Issue
Block a user