X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b8798d769f273ae11b5da902c0879cbc15c0072..47027300607a0eb0127aa408fff508e56ad64021:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index ef30f8214..208ddbd46 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -36,7 +36,7 @@ <%= t(".comment_by_html", :time_ago => friendly_date_ago(comment.created_at), :user => link_to(comment.author.display_name, user_path(comment.author))) %> - <% if current_user and current_user.moderator? %> + <% if current_user&.moderator? %> â <% end %> @@ -44,7 +44,7 @@ <%= comment.body.to_html %> - <% elsif current_user and current_user.moderator? %> + <% elsif current_user&.moderator? %>