{"action":"created","issue":{"url":"https://api.github.com/repos/turbolinks/turbolinks/issues/76","repository_url":"https://api.github.com/repos/turbolinks/turbolinks","labels_url":"https://api.github.com/repos/turbolinks/turbolinks/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/turbolinks/turbolinks/issues/76/comments","events_url":"https://api.github.com/repos/turbolinks/turbolinks/issues/76/events","html_url":"https://github.com/turbolinks/turbolinks/pull/76","id":148773851,"number":76,"title":"Support action: 'back' to navigate back in history","user":{"login":"glennfu","id":20549,"avatar_url":"https://avatars.githubusercontent.com/u/20549?v=3","gravatar_id":"","url":"https://api.github.com/users/glennfu","html_url":"https://github.com/glennfu","followers_url":"https://api.github.com/users/glennfu/followers","following_url":"https://api.github.com/users/glennfu/following{/other_user}","gists_url":"https://api.github.com/users/glennfu/gists{/gist_id}","starred_url":"https://api.github.com/users/glennfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennfu/subscriptions","organizations_url":"https://api.github.com/users/glennfu/orgs","repos_url":"https://api.github.com/users/glennfu/repos","events_url":"https://api.github.com/users/glennfu/events{/privacy}","received_events_url":"https://api.github.com/users/glennfu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-04-15T21:29:02Z","updated_at":"2016-11-15T14:03:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/turbolinks/turbolinks/pulls/76","html_url":"https://github.com/turbolinks/turbolinks/pull/76","diff_url":"https://github.com/turbolinks/turbolinks/pull/76.diff","patch_url":"https://github.com/turbolinks/turbolinks/pull/76.patch"},"body":"I decided to take a stab at this to see how it would work after posting #74. There's still an issue remaining where in the case of calling `Turbolinks.visit(\"http://site.dev/path/here\", {\"action\":\"back\"})` Firebug reports that `http://site.dev/path/here` is called once, aborted, then called again. I'm having trouble figuring out why that is.\n\nOn the turbolinks-ios side, in my `ApplicationController.swift#presentVisitableForSession` I had to add `else if action == .Back { popViewControllerAnimated(true) }` and in `Turbolinks/Actions.swift` I added `case Back    = \"back\"`.\n\nWith those changes, everything seemed to work perfectly! So aside from the unexplained aborted request, this does exactly what I hoped it would do. I look forward to hearing what you think! If I'm on the right track, let me know and I'll try to put in some appropriate tests and another pull request to turbolinks-ios. I haven't yet gotten far with turbolinks-android but I hope to dive into that soon also.\n"},"comment":{"url":"https://api.github.com/repos/turbolinks/turbolinks/issues/comments/260649115","html_url":"https://github.com/turbolinks/turbolinks/pull/76#issuecomment-260649115","issue_url":"https://api.github.com/repos/turbolinks/turbolinks/issues/76","id":260649115,"user":{"login":"WaKeMaTTa","id":3450257,"avatar_url":"https://avatars.githubusercontent.com/u/3450257?v=3","gravatar_id":"","url":"https://api.github.com/users/WaKeMaTTa","html_url":"https://github.com/WaKeMaTTa","followers_url":"https://api.github.com/users/WaKeMaTTa/followers","following_url":"https://api.github.com/users/WaKeMaTTa/following{/other_user}","gists_url":"https://api.github.com/users/WaKeMaTTa/gists{/gist_id}","starred_url":"https://api.github.com/users/WaKeMaTTa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WaKeMaTTa/subscriptions","organizations_url":"https://api.github.com/users/WaKeMaTTa/orgs","repos_url":"https://api.github.com/users/WaKeMaTTa/repos","events_url":"https://api.github.com/users/WaKeMaTTa/events{/privacy}","received_events_url":"https://api.github.com/users/WaKeMaTTa/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T14:03:32Z","updated_at":"2016-11-15T14:03:32Z","body":"`backward` :question: \r\n\r\n (`backwardHistory` & `backwardHistoryWithLocationAndRestorationIdentifier`)"}}
{"actor":{"display_login":"WaKeMaTTa"}}