summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:15:28 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:15:28 +0100
commitc23704427182d8b63600dd404f1295763e88addd (patch)
treea9437964ae192accefe85601ba481a00974ae2a1
parent680073d4cf7619bddfb7f79ea9e538a33d9dcdee (diff)
Show a rounded avatar photo and link to the original version of that photo.
-rw-r--r--app/views/users/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index 0b9c06e..639a52a 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -9,8 +9,8 @@
%ul.thumbnails
%li.span3
%div.thumbnail
- %a.thumbnail{:href => @user.image_url(:profile).to_s}
- =image_tag(@user.image_url(:profile), :alt => "Avatar #{@user}")
+ %a.thumbnail{:href => @user.image_url}
+ =image_tag(@user.image_url(:profile), :alt => "Avatar #{@user}", :class => 'img-rounded')
%table.table.table-striped
%tbody