more explicit and versatile usage of avatar_image, changing style option by a direct size - asuming we will always use square images
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<h1><%= @debate.title %></h1>
|
||||
|
||||
<div class="debate-info">
|
||||
<%= avatar_image(@debate.author, style: :small) %>
|
||||
<%= avatar_image(@debate.author, size: 32) %>
|
||||
<span class="author">
|
||||
<%= @debate.author.name %>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user