From aa64fb57f541564b65d753f06333db238f655bfe Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 2 Jun 2021 22:43:03 -0400 Subject: Some tweaks and fixes for magiculture --- app/views/characters/hearth/hearth_plantings/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/characters/hearth/hearth_plantings') diff --git a/app/views/characters/hearth/hearth_plantings/index.html.erb b/app/views/characters/hearth/hearth_plantings/index.html.erb index 8aaefcc..d8e7f96 100644 --- a/app/views/characters/hearth/hearth_plantings/index.html.erb +++ b/app/views/characters/hearth/hearth_plantings/index.html.erb @@ -11,7 +11,7 @@
- <% @hearth_plantings.each do |hp| %> + <% @hearth_plantings.sort_by(&:ripens_at).each do |hp| %>

<%= hp.item.name %>

<% if hp.ripens_at > Time.now %> -- cgit v1.2.3