mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
removing activity creation from demo project
This commit is contained in:
parent
4e9d566934
commit
4c3c0ef908
1 changed files with 0 additions and 11 deletions
|
@ -56,16 +56,5 @@ module DelayedUploaderDemo
|
|||
created_at: created_at,
|
||||
result: result
|
||||
)
|
||||
Activity.new(
|
||||
type_of: :add_comment_to_result,
|
||||
user: user,
|
||||
project: result.my_module.experiment.project,
|
||||
my_module: result.my_module,
|
||||
created_at: created_at,
|
||||
updated_at: created_at,
|
||||
message: I18n.t('activities.add_comment_to_result',
|
||||
user: user.full_name,
|
||||
result: result.name)
|
||||
).sneaky_save
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue