mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
fix admin/registrations#update
This commit is contained in:
parent
a1ac27fa58
commit
6bcecbd219
4 changed files with 15 additions and 9 deletions
|
|
@ -40,9 +40,9 @@
|
|||
= '...'
|
||||
- else
|
||||
None
|
||||
- if can? :show, user
|
||||
%td
|
||||
%td
|
||||
- if can? :show, user
|
||||
= link_to 'View', admin_user_path(user), class: 'btn btn-success'
|
||||
- if can? :update, user
|
||||
%td
|
||||
%td
|
||||
- if can? :update, user
|
||||
= link_to 'Edit', edit_admin_user_path(user), class: 'btn btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue