Fix rubocop warnings and User index bug

This commit is contained in:
Henne Vogelsang 2015-04-15 10:23:24 +02:00
parent 6a5cccbaad
commit 9e0c871494
3 changed files with 4 additions and 4 deletions

View file

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