Speed up js load time

This commit is contained in:
yafeilee 2016-08-07 02:55:06 +08:00
parent d75b5fce18
commit 3e2b0a137e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ html
= content_for?(:title) ? yield(:title) + " | #{ENV['SITE_NAME']}" : ENV['SITE_NAME']
= stylesheet_link_tag "application", 'data-turbolinks-track' => "reload"
= favicon_link_tag 'favicon.png', type: 'image/png'
= javascript_include_tag "application", 'data-turbolinks-track' => "reload"
= javascript_include_tag "application", 'data-turbolinks-track' => "reload", 'async' => Rails.env.production?
= csrf_meta_tags
= action_cable_meta_tag
body data-whatinput="mouse"