Use link_to_user instead of explicit link
This commit is contained in:
parent
ac420ab3a4
commit
9221f92b19
1 changed files with 1 additions and 2 deletions
|
|
@ -10,8 +10,7 @@
|
||||||
= link_to users_role.role.name, admin_conference_role_path(conference_id: conference_short_title, id: users_role.role.name)
|
= link_to users_role.role.name, admin_conference_role_path(conference_id: conference_short_title, id: users_role.role.name)
|
||||||
= version.event == 'create' ? 'to' : 'from'
|
= version.event == 'create' ? 'to' : 'from'
|
||||||
= 'user'
|
= 'user'
|
||||||
|
= link_to_user(users_role.user_id)
|
||||||
= link_to (user.try(:name) || 'deleted user'), admin_user_path(id: users_role.user.id)
|
|
||||||
|
|
||||||
- when 'Subscription', 'Registration'
|
- when 'Subscription', 'Registration'
|
||||||
- if conference
|
- if conference
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue