turbolinks / turbolinks-classic

Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
MIT License
3.54k stars 428 forks source link

Webpage without title, after turbolink has title of undefined #662

Closed ipepe closed 8 years ago

ipepe commented 8 years ago

On my rails app I didn't create a title tag inside application layout, because of that, every time i go by turbolink, webpage title changes from http://localhost:3000/... to untitled

reed commented 8 years ago

Title tags are a required element of all HTML documents. Therefore, Turbolinks shouldn't have to handle the case where the title tag is absent. You should just add a title so the document is valid HTML.