mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-01 02:05:41 +08:00
Remove hack for activities
This commit is contained in:
parent
593455537d
commit
b64b6ed326
1 changed files with 0 additions and 2 deletions
|
@ -60,8 +60,6 @@ module Activities
|
|||
getter_method = 'name'
|
||||
end
|
||||
|
||||
const = const.with_archived if const == Repository
|
||||
|
||||
obj = const.find id
|
||||
@activity.message_items[k] = { type: const.to_s, value: obj.public_send(getter_method).to_s, id: id }
|
||||
@activity.message_items[k][:value_for] = getter_method
|
||||
|
|
Loading…
Reference in a new issue