|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
service_url: '/' |
|
|
|
|
) do |component| |
|
|
|
|
if current_user.nil? |
|
|
|
|
component.navigation_item(text: 'Case logs', href: '/case_logs') |
|
|
|
|
component.navigation_item(text: 'Case logs', href: '/case_logs') |
|
|
|
|
elsif |
|
|
|
|
component.navigation_item(text: 'Your account', href: '/users/account') |
|
|
|
|
component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: {:method => :delete}) |
|
|
|
|