Fix rubocop warnings and User index bug
This commit is contained in:
parent
6a5cccbaad
commit
9e0c871494
3 changed files with 4 additions and 4 deletions
|
|
@ -37,7 +37,7 @@
|
|||
%span.fa.fa-cog
|
||||
Manage
|
||||
= @conference.short_title
|
||||
- if can? :index, User
|
||||
- if can? :manage, User.new
|
||||
%li
|
||||
= link_to(admin_users_path) do
|
||||
%span.fa.fa-user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue