diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index cf69b955d..8f043f6ee 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -38,7 +38,14 @@ logotype: 'GOV.UK', service_name: 'Share Lettings and Sales for Social Housing in England Data with DLUHC', service_url: '/' - ) + ) do |component| + if current_user.nil? + 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}) + end + end %>