mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Moved logout under registrar menu
This commit is contained in:
parent
3bfffba7a1
commit
0cf1fd1930
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@
|
|||
%ul.dropdown-menu{role: "menu"}
|
||||
- ApiUser.where(identity_code: current_user.identity_code).includes(:registrar).each do |x|
|
||||
%li= link_to "#{x} (#{x.roles.first}) - #{x.registrar}", "/registrar/switch_user/#{x.id}"
|
||||
- if user_signed_in?
|
||||
%li= link_to t(:log_out_), '/registrar/logout'
|
||||
- if user_signed_in?
|
||||
%li= link_to t(:log_out_), '/registrar/logout'
|
||||
|
||||
.container
|
||||
= render 'shared/flash'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue