User management
This commit is contained in:
@@ -7,6 +7,9 @@ html
|
||||
- if @current_user
|
||||
.float-end style="margin-top: -8px;"
|
||||
nav.navbar.bg-body-primary
|
||||
- if @current_user.admin
|
||||
a.navbar-brand href=users_path
|
||||
| Users
|
||||
a.navbar-brand href=contests_path
|
||||
| Home
|
||||
a.navbar-brand href=user_path(@current_user)
|
||||
|
Reference in New Issue
Block a user