Added owner link to the garden page

This commit is contained in:
Skud committed 2013-10-25 23:51:08 +11:00
1 parent b63c854b16
commit e26544f5ad
1 file changed
+3
+3
View File
@@ -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: