mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-07 16:09:57 +08:00
Fix file activity logging in steps controller
This commit is contained in:
parent
8c78920927
commit
1df4433074
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class StepsController < ApplicationController
|
||||||
:task_step_file_added,
|
:task_step_file_added,
|
||||||
@my_module.experiment.project,
|
@my_module.experiment.project,
|
||||||
{
|
{
|
||||||
file: @asset.file_file_name,
|
file: @asset.file_name,
|
||||||
my_module: @my_module.id
|
my_module: @my_module.id
|
||||||
}.merge(default_message_items)
|
}.merge(default_message_items)
|
||||||
)
|
)
|
||||||
|
@ -63,7 +63,7 @@ class StepsController < ApplicationController
|
||||||
:protocol_step_file_added,
|
:protocol_step_file_added,
|
||||||
nil,
|
nil,
|
||||||
{
|
{
|
||||||
file: @asset.file_file_name,
|
file: @asset.file_name,
|
||||||
protocol: @protocol.id
|
protocol: @protocol.id
|
||||||
}.merge(default_message_items)
|
}.merge(default_message_items)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue