]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_comments.html.erb
More readable multi-line ruby in erbs
[rails.git] / app / views / issues / _comments.html.erb
index 046e80163c98001c4abe03675399eaf7d5aa73f2..e55bf42578fb5200ccf94040f02113b32fd7599c 100644 (file)
@@ -2,7 +2,7 @@
   <% comments.each do |comment| %>
     <div class="row">
       <div class="col-auto">
   <% comments.each do |comment| %>
     <div class="row">
       <div class="col-auto">
-        <%= link_to user_thumbnail(comment.user, :class => "user_image_no_margins"), user_path(comment.user) %>
+        <%= link_to user_thumbnail(comment.user), user_path(comment.user) %>
       </div>
       <div class="col">
         <p class="text-muted mb-0">
       </div>
       <div class="col">
         <p class="text-muted mb-0">