{"action":"closed","issue":{"url":"https://api.github.com/repos/apprentice-gamma/linked-learning/issues/14","labels_url":"https://api.github.com/repos/apprentice-gamma/linked-learning/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/apprentice-gamma/linked-learning/issues/14/comments","events_url":"https://api.github.com/repos/apprentice-gamma/linked-learning/issues/14/events","html_url":"https://github.com/apprentice-gamma/linked-learning/issues/14","id":66145232,"number":14,"title":"Delay in updating bookmark detail","user":{"login":"tomseph","id":11162701,"avatar_url":"https://avatars.githubusercontent.com/u/11162701?v=3","gravatar_id":"","url":"https://api.github.com/users/tomseph","html_url":"https://github.com/tomseph","followers_url":"https://api.github.com/users/tomseph/followers","following_url":"https://api.github.com/users/tomseph/following{/other_user}","gists_url":"https://api.github.com/users/tomseph/gists{/gist_id}","starred_url":"https://api.github.com/users/tomseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomseph/subscriptions","organizations_url":"https://api.github.com/users/tomseph/orgs","repos_url":"https://api.github.com/users/tomseph/repos","events_url":"https://api.github.com/users/tomseph/events{/privacy}","received_events_url":"https://api.github.com/users/tomseph/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-03T13:18:25Z","updated_at":"2015-04-03T16:04:07Z","closed_at":"2015-04-03T16:04:07Z","body":"Expectation: \r\n* from listings, click on a bookmark\r\n* bookmark takes you to the detail (iframe) of that bookmark\r\n* hit back button\r\n* click on new bookmark from listings\r\n* you are taken to the new bookmark detail\r\n\r\nWhat's happening:\r\n* click on bookmark\r\n* takes you to bookmark detail\r\n* hit back, goto new bookmark\r\n* takes you to first bookmark\r\n* hit back, goto same (new) bookmark\r\n* takes you to new bookmark\r\n\r\nIdeas:\r\nThis is related to pulling the url from the BookmarkFactory instead of from the parameters in the URL.\r\nCurrently, we have a watch on location in the comments controller. We may need to add that to the detail controller as well (possibly move it up to the layout controller). \r\n\r\nThe code to update the index when the path changes works -- for the comments.\r\nWe may want to duplicate that effort for the detail page as well. It seems redundant, but I think the comments are retaining display so it doesn't update, hence the lag."}}