mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Login using api user
This commit is contained in:
parent
99850c3acb
commit
f34bca591e
3 changed files with 19 additions and 1 deletions
|
@ -25,7 +25,11 @@
|
|||
- if unstable_env.present?
|
||||
.text-center
|
||||
%small{style: 'color: #0074B3;'}= unstable_env
|
||||
- if current_user
|
||||
- if current_user
|
||||
.navbar-collapse.collapse
|
||||
%ul.nav.navbar-nav
|
||||
- if can? :show, Invoice
|
||||
%li= link_to t('invoices'), registrar_invoices_path
|
||||
%ul.nav.navbar-nav.navbar-right
|
||||
%li= link_to t('log_out', user: current_user), '/logout'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue