From e1ee373b92b360ffe42a55c1fe586e43382c3ee7 Mon Sep 17 00:00:00 2001 From: ohsab Date: Wed, 10 Dec 2014 05:24:30 +0100 Subject: [PATCH] foutje --- app/views/users/_user.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb index e9bbd8c..c9f0694 100644 --- a/app/views/users/_user.html.erb +++ b/app/views/users/_user.html.erb @@ -3,9 +3,9 @@

<%= user.full_name %>

<% if user.avatar.exists? %> - <%= link_to image_tag(user.avatar , class: "img-circle avatar"), new_user_order_path(user) %> + <%= image_tag(user.avatar , class: "img-circle avatar") %> <% else %> - <%= link_to image_tag("http://babeholder.pixoil.com/img/70/70", class: "img-circle avatar"), new_user_order_path(user) %> + <%= image_tag("http://babeholder.pixoil.com/img/70/70", class: "img-circle avatar") %> <% end %>

Name: <%= user.name %>

Last name: <%= user.last_name %>