stubbed in blank controllers/helpers/functional tests

This commit is contained in:
albert
2010-03-10 18:21:43 -05:00
parent 836b59b1cd
commit ac98d7db37
137 changed files with 1349 additions and 58 deletions

View File

@@ -164,5 +164,22 @@ module Danbooru
4 => "Character"
}
end
# Any custom code you want to insert into the default layout without
# having to modify the templates.
def custom_html_header_content
<<-EOS
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-86094-4");
pageTracker._trackPageview();
} catch(err) {}
</script>
EOS
end
end
end