mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-03 22:21:53 +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,
|
||||
@my_module.experiment.project,
|
||||
{
|
||||
file: @asset.file_file_name,
|
||||
file: @asset.file_name,
|
||||
my_module: @my_module.id
|
||||
}.merge(default_message_items)
|
||||
)
|
||||
|
@ -63,7 +63,7 @@ class StepsController < ApplicationController
|
|||
:protocol_step_file_added,
|
||||
nil,
|
||||
{
|
||||
file: @asset.file_file_name,
|
||||
file: @asset.file_name,
|
||||
protocol: @protocol.id
|
||||
}.merge(default_message_items)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue