mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 05:04:35 +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',
|
'activities.assign_repository_records',
|
||||||
user: current_user.full_name,
|
user: current_user.full_name,
|
||||||
task: @my_module.name,
|
task: @my_module.name,
|
||||||
repository: @repository,
|
repository: @repository.name,
|
||||||
records: records_names.join(', ')
|
records: records_names.join(', ')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -462,7 +462,7 @@ class MyModulesController < ApplicationController
|
||||||
'activities.unassign_repository_records',
|
'activities.unassign_repository_records',
|
||||||
user: current_user.full_name,
|
user: current_user.full_name,
|
||||||
task: @my_module.name,
|
task: @my_module.name,
|
||||||
repository: @repository,
|
repository: @repository.name,
|
||||||
records: records.map(&:name).join(', ')
|
records: records.map(&:name).join(', ')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue