From bf96f7153159ee0386c0094192ee341299f9c108 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Thu, 30 Sep 2021 14:12:12 +0200 Subject: [PATCH] Fix comment edit method [SCI_6054] --- app/helpers/comment_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/comment_helper.rb b/app/helpers/comment_helper.rb index ad562acad..94b845035 100644 --- a/app/helpers/comment_helper.rb +++ b/app/helpers/comment_helper.rb @@ -76,7 +76,7 @@ module CommentHelper when 'TaskComment' can_manage_my_module_comment?(comment) when 'StepComment' - can_manage_my_module_step_comment?(comment) + can_update_comment_in_my_module_step?(comment) when 'ResultComment' can_manage_result_comment?(comment.becomes(Comment)) when 'ProjectComment'