diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-01 19:31:52 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-01 19:31:52 +0100 |
commit | 4c8721b25abf460b309bbe636ecf559e4a9a339f (patch) | |
tree | 3c70bb1fd12fb6ae6f86e3ecb3fefa87ce87b6de /app/views/layouts/application.html.haml | |
parent | b4c842b321eff7358ac437ce7f8bf867d068f88f (diff) | |
download | gitlab-ce-4c8721b25abf460b309bbe636ecf559e4a9a339f.tar.gz |
Refactor UI header for logged out users
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 678ed3c2c1f..babfb032236 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -5,11 +5,7 @@ -# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body. = yield :scripts_body_top - - if current_user - = render "layouts/header/default", title: header_title - - else - = render "layouts/header/public", title: header_title - + = render "layouts/header/default", title: header_title = render 'layouts/page', sidebar: sidebar = yield :scripts_body |