Fix erblint warnings

This commit is contained in:
Tom Hughes 2021-06-05 07:40:55 +01:00
parent 29032847d9
commit 2c5e981684
6 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,7 @@
</h4>
<p class="font-italic">
<% if common_details.changeset.tags['comment'].present? %>
<% if common_details.changeset.tags["comment"].present? %>
<%= linkify(common_details.changeset.tags["comment"]) %>
<% else %>
<%= t "browse.no_comment" %>
@ -13,7 +13,7 @@
<div class="details">
<%= t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
:time => time_ago_in_words(common_details.timestamp, :scope => :'datetime.distance_in_words_ago'),
:time => time_ago_in_words(common_details.timestamp, :scope => :"datetime.distance_in_words_ago"),
:user => changeset_user_link(common_details.changeset),
:title => l(common_details.timestamp) %>
&middot;