diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-05-16 18:42:06 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-05-16 18:42:06 +0000 |
commit | b8b6de4c759ba85caaf7ff4ea26abceeba23bcf4 (patch) | |
tree | 4665f19d1180e2c72e40dd8fc6a053fd26a56976 /app/views/layouts/application.html.haml | |
parent | dc045dab8f41cdd580268837bac41277a2290b40 (diff) | |
download | gitlab-ce-b8b6de4c759ba85caaf7ff4ea26abceeba23bcf4.tar.gz |
Make `gfm_auto_complete` into a module and fix up tech debt
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 7e011ac3e75..03688e9ff21 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -2,8 +2,8 @@ %html{ lang: I18n.locale, class: "#{page_class}" } = render "layouts/head" %body{ class: @body_class, data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}" } } + = render "layouts/init_auto_complete" if @gfm_form = render "layouts/header/default", title: header_title = render 'layouts/page', sidebar: sidebar, nav: nav = yield :scripts_body - = render "layouts/init_auto_complete" if @gfm_form |