User management
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-22 09:16:38 +01:00
parent ce5b729fef
commit 0b47cc4d8a
7 changed files with 70 additions and 8 deletions

View File

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