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