From e26544f5add5f0f83bf57524461fa31020437fe8 Mon Sep 17 00:00:00 2001 From: Skud Date: Fri, 25 Oct 2013 23:51:08 +1100 Subject: [PATCH] Added owner link to the garden page --- app/views/gardens/show.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/gardens/show.html.haml b/app/views/gardens/show.html.haml index 466fe0742..97bc378db 100644 --- a/app/views/gardens/show.html.haml +++ b/app/views/gardens/show.html.haml @@ -8,6 +8,9 @@ - if can? :edit, @garden = link_to 'Set it to active', edit_garden_path(@garden) to plant something in this garden. + %p + %strong Owner: + = link_to @garden.owner, @garden.owner - if @garden.location %p %strong Location: