mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Fix comment edit method [SCI_6054]
This commit is contained in:
parent
f68d724202
commit
bf96f71531
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue