From 63edd3e877e0c3a4e24caebdabb591824572f542 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Fri, 6 Dec 2019 13:26:47 +0100 Subject: [PATCH] Remove edit initialization from view mode --- app/views/shared/comments/_item.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/comments/_item.html.erb b/app/views/shared/comments/_item.html.erb index a7ea06a72..508acaea4 100644 --- a/app/views/shared/comments/_item.html.erb +++ b/app/views/shared/comments/_item.html.erb @@ -2,7 +2,7 @@ <% readonly = false unless defined?(readonly) %> <% edit_mode = (comment.user == current_user && !readonly) %>