Don't cache external.css (login page) and onload.js
authorChristian Johansen <christian@gitorious.org>
Mon, 4 Jul 2011 08:13:34 +0000 (10:13 +0200)
committerChristian Johansen <christian@gitorious.org>
Mon, 4 Jul 2011 08:13:34 +0000 (10:13 +0200)
commitb23a55f81858c922e32ed349fc69116717b96eba
treeb861298a8d44b13ea0c5af687c20f0490fdcd49e
parent5d1b75fb933d52dbb84d71190166768cd24fb4b2
Don't cache external.css (login page) and onload.js

- :cache => true for CSS/JS assumes the filename "all.(js|css)"
- "all.css" is already created by another set of CSS files
- "all.js" is already used by another set of JS files
- Result: login page got way too much CSS, causing freaky rendering
- Result: onload.js was not loaded in production. Rather all.js was loaded
  twice, causing double event listeners and whatnot
app/views/layouts/_common_footer.html.erb
app/views/layouts/second_generation/application.html.erb