From 741eaae6e4f417f7a3878dee5127fc89bd4937d6 Mon Sep 17 00:00:00 2001 From: Andrew Radev Date: Mon, 25 May 2015 11:43:30 +0300 Subject: [PATCH] Default image in users#show --- app/views/management/users/show.html.slim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/management/users/show.html.slim b/app/views/management/users/show.html.slim index d68b2dd..fa7ee84 100644 --- a/app/views/management/users/show.html.slim +++ b/app/views/management/users/show.html.slim @@ -3,10 +3,7 @@ .row .col-lg-2 - - if @profile.present? and @profile.picture.present? - = image_tag(@profile.picture.medium.url) - - else - -# TODO photo placeholder, default user image + = image_tag(@user.profile_picture.medium.url) .col-lg-10 h1.page-header