From dd9a0071d2f32048cb2855dac6731a8f9e0b090d Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 23 Jan 2017 09:58:25 +1300 Subject: [PATCH] Link from harvest to planting, instead of garden --- app/views/harvests/show.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/harvests/show.html.haml b/app/views/harvests/show.html.haml index f9021f639..c70952f27 100644 --- a/app/views/harvests/show.html.haml +++ b/app/views/harvests/show.html.haml @@ -27,7 +27,9 @@ - if @planting %p - %b Garden: + %b Planting: + = link_to "#{@planting.crop.name} planted on #{@planting.planted_at}", planting_path(@planting) + in = link_to @planting.garden, garden_path(@planting.garden) %p %b Quantity: