Added owner link to the garden page

This commit is contained in:
Skud
2013-10-25 23:51:08 +11:00
parent b63c854b16
commit e26544f5ad

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: