Default image in users#show

This commit is contained in:
Andrew Radev 2015-05-25 11:43:30 +03:00
parent aa43ab12dd
commit 741eaae6e4
1 changed files with 1 additions and 4 deletions

View File

@ -3,10 +3,7 @@
.row .row
.col-lg-2 .col-lg-2
- if @profile.present? and @profile.picture.present? = image_tag(@user.profile_picture.medium.url)
= image_tag(@profile.picture.medium.url)
- else
-# TODO photo placeholder, default user image
.col-lg-10 .col-lg-10
h1.page-header h1.page-header