[#277] fix edit link

This commit is contained in:
Alexander Machehin 2013-09-13 19:55:01 +06:00
parent 98b087071a
commit 66ec9c88ec
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
%p{:title => user.try(:name)}
- if user
= short_message(user.name, 28)
= link_to image_tag('gears.png'), edit_url if can?(:edit, user)
= link_to image_tag('gears.png'), edit_url if edit_url.present?
.both
- if user
%p.info.first