Archived
add user.avatar with correct size
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<%= link_to current_user.name, current_user %><br/>
|
||||
<%= link_to "Logout", logout_path %>
|
||||
</span>
|
||||
<%= link_to image_tag(current_user.avatar_url(32), :class => "avatar"), current_user %>
|
||||
<%= link_to current_user.avatar(32), current_user %>
|
||||
<% else %>
|
||||
<%= link_to "Log in", login_path(return_path: request.env['PATH_INFO']), action: "new" %> | <%= link_to "Sign up", signup_path %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user