mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Add missing protocol description activity [SCI-7140] (#4401)
This commit is contained in:
parent
b585219be2
commit
9126b7fca4
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ class MyModulesController < ApplicationController
|
|||
ActiveRecord::Base.transaction do
|
||||
protocol.update!(protocol_params)
|
||||
log_activity(:protocol_name_in_task_edited) if protocol.saved_change_to_name?
|
||||
log_activity(:protocol_description_in_task_edited) if protocol.saved_change_to_description?
|
||||
TinyMceAsset.update_images(protocol, params[:tiny_mce_images], current_user)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue