Skip to content

Commit 0976740

Browse files
committed
Move JavaScript code to footer.
1 parent eb173b0 commit 0976740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/application.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
%title Long Running Ruby Benchmark
55
= stylesheet_link_tag 'application', media: 'all'
66
= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Roboto:100,400'
7-
= javascript_include_tag 'application'
87
= render 'layouts/ga' if Rails.env.production?
98
= csrf_meta_tags
109

@@ -22,4 +21,5 @@
2221
.row.footer
2322
.col-xs-10.col-xs-offset-1
2423
= render 'layouts/footer'
24+
= javascript_include_tag 'application'
2525
= yield :footer if content_for(:footer)

0 commit comments

Comments
 (0)