Removed turbolinks. Was causing index to load in html if visited other page first.