mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-04 12:14:37 +08:00
fix no repository name in activity bug
This commit is contained in:
parent
6e203d2f15
commit
ea455d3596
1 changed files with 2 additions and 2 deletions
|
@ -417,7 +417,7 @@ class MyModulesController < ApplicationController
|
|||
'activities.assign_repository_records',
|
||||
user: current_user.full_name,
|
||||
task: @my_module.name,
|
||||
repository: @repository,
|
||||
repository: @repository.name,
|
||||
records: records_names.join(', ')
|
||||
)
|
||||
)
|
||||
|
@ -462,7 +462,7 @@ class MyModulesController < ApplicationController
|
|||
'activities.unassign_repository_records',
|
||||
user: current_user.full_name,
|
||||
task: @my_module.name,
|
||||
repository: @repository,
|
||||
repository: @repository.name,
|
||||
records: records.map(&:name).join(', ')
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue