diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-05-31 08:55:24 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-05-31 08:55:24 +0100 |
commit | fad43e588b3dde373807ae43e56710ac8f187ece (patch) | |
tree | 182acf03fddb8ba22ae19808431bf8c4fbe84d37 | |
parent | 9506302c878e05f32017682f792e4aa82bc0fa3c (diff) |
Move before_body_end to before the </body>
There was a load of other stuff between before_body_end and the
body end, which a) doesn’t seem right, morally speaking, and b)
makes it impossible to put any code in the before_body_end template
in your theme that interacts with Google Analytics, which is a thing
we want to do in whatdotheyknow-theme.
-rw-r--r-- | app/views/layouts/default.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index bc9dfb02d..b2615576c 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -147,7 +147,6 @@ <%= render :partial => 'general/footer' %> - <%= render :partial => 'general/before_body_end' %> </div> <div id="other-country-notice"></div> <div id="link_box"><span class="close-button">X</span> @@ -169,6 +168,7 @@ </script> <% end %> + <%= render :partial => 'general/before_body_end' %> </body> </html> |