Login using api user

This commit is contained in:
Martin Lensment 2015-03-20 18:11:37 +02:00
parent 99850c3acb
commit f34bca591e
3 changed files with 19 additions and 1 deletions

View file

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