1f713d52d7
- Turbolinks caches the `head`, so `gon` updates don't show up unless the user navigates to page directly (by URL) or performs a refresh. - The solution is to render `gon` in the body instead. - Also update the syntax to the new Rails 4 (according to the gon README) syntax.
18 lines
485 B
Text
18 lines
485 B
Text
!!! 5
|
|
%html{ lang: "en"}
|
|
= render "layouts/head"
|
|
%body.ui_charcoal.login-page.application.navless
|
|
= Gon::Base.render_data
|
|
= render "layouts/header/empty"
|
|
= render "layouts/broadcast"
|
|
.container.navless-container
|
|
.content
|
|
= render "layouts/flash"
|
|
= yield
|
|
|
|
%hr
|
|
.container
|
|
.footer-links
|
|
= link_to "Explore", explore_root_path
|
|
= link_to "Help", help_path
|
|
= link_to "About GitLab", "https://about.gitlab.com/"
|