diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-01 17:09:30 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-01 17:09:30 +0200 |
commit | e7e07fab5d64db8b2881d7fa3477553807b0d3e1 (patch) | |
tree | 04ecb27e29182a48eaefab37ffa6dbf9b50bd7ea /app/views/layouts/application.html.haml | |
parent | 46e3d13eac8f679044e4fcf16262346ccb8064df (diff) | |
download | gitlab-ce-e7e07fab5d64db8b2881d7fa3477553807b0d3e1.tar.gz |
Refactor header views
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index a97feeb1ecd..155825cc4c2 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -3,8 +3,8 @@ = render "layouts/head" %body{class: "#{app_theme}", :'data-page' => body_data_page} - if current_user - = render "layouts/head_panel", title: header_title + = render "layouts/header/default", title: header_title - else - = render "layouts/public_head_panel", title: header_title + = render "layouts/header/public", title: header_title = render 'layouts/page', sidebar: sidebar |