From 0e8f90a95212159ddab64c6249a3da63f918d21d Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 3 Jun 2021 21:31:04 -0400 Subject: Use `#pluralize` for max wound(s) --- app/views/application/_timer.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/application/_timer.html.erb b/app/views/application/_timer.html.erb index ec10258..edbc7ea 100644 --- a/app/views/application/_timer.html.erb +++ b/app/views/application/_timer.html.erb @@ -19,7 +19,7 @@
<% if current_char.activity.gid.include?("beastslay") %> - <%= current_char.wounds %> / <%= current_char.max_wounds %> wounds + <%= current_char.wounds %> / <%= pluralize(current_char.max_wounds, "wound") %> <% end %> <% current_char.active_states.each do |state| %>
-- cgit v1.2.3