diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-06-06 10:12:39 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-06-06 12:50:31 +0530 |
commit | 1f713d52d71cc283cb2190cfcdf38155a6fdfeac (patch) | |
tree | f0bcea1e9159439be74e38aa10d5c3a2a5f72fda /app/views/u2f | |
parent | e5823f3609136dafdee05204cd17436e09985177 (diff) | |
download | gitlab-ce-1f713d52d71cc283cb2190cfcdf38155a6fdfeac.tar.gz |
Render `gon` data in the page `body`, not `head`
- 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.
Diffstat (limited to 'app/views/u2f')
0 files changed, 0 insertions, 0 deletions