fix admin/registrations#update

This commit is contained in:
Stella Rouzi 2016-05-01 18:50:07 +03:00
parent a1ac27fa58
commit 6bcecbd219
4 changed files with 15 additions and 9 deletions

View file

@ -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'