• Timothy Andrew's avatar
    Render `gon` data in the page `body`, not `head` · 1f713d52
    Timothy Andrew authored
    - 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.
    1f713d52
errors.html.haml 277 Bytes