Fix bug in first load of turbolinks