{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-cookies/issues/28","repository_url":"https://api.github.com/repos/simplabs/ember-cookies","labels_url":"https://api.github.com/repos/simplabs/ember-cookies/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-cookies/issues/28/comments","events_url":"https://api.github.com/repos/simplabs/ember-cookies/issues/28/events","html_url":"https://github.com/simplabs/ember-cookies/pull/28","id":191826939,"number":28,"title":"Allow options when deleting cookie","user":{"login":"t4t5","id":2598660,"avatar_url":"https://avatars.githubusercontent.com/u/2598660?v=3","gravatar_id":"","url":"https://api.github.com/users/t4t5","html_url":"https://github.com/t4t5","followers_url":"https://api.github.com/users/t4t5/followers","following_url":"https://api.github.com/users/t4t5/following{/other_user}","gists_url":"https://api.github.com/users/t4t5/gists{/gist_id}","starred_url":"https://api.github.com/users/t4t5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t4t5/subscriptions","organizations_url":"https://api.github.com/users/t4t5/orgs","repos_url":"https://api.github.com/users/t4t5/repos","events_url":"https://api.github.com/users/t4t5/events{/privacy}","received_events_url":"https://api.github.com/users/t4t5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-26T21:10:46Z","updated_at":"2016-12-26T16:13:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/simplabs/ember-cookies/pulls/28","html_url":"https://github.com/simplabs/ember-cookies/pull/28","diff_url":"https://github.com/simplabs/ember-cookies/pull/28.diff","patch_url":"https://github.com/simplabs/ember-cookies/pull/28.patch"},"body":"When using `.clear(COOKIE_NAME}`, there should be a way to specify options such as \"path\" and \"domain\". Otherwise a cookie might persist if you try to delete it from a different route than the one you set it on.\r\n\r\nI believe the most common use case is that, after the user logs in, you want to set a cookie which persists on every route (therefore specifying \"/\" as the path). Then, if you log out, you need to specify the path \"/\" for the cookie if you log out from a route that's not \"/\"."},"comment":{"url":"https://api.github.com/repos/simplabs/ember-cookies/issues/comments/269223583","html_url":"https://github.com/simplabs/ember-cookies/pull/28#issuecomment-269223583","issue_url":"https://api.github.com/repos/simplabs/ember-cookies/issues/28","id":269223583,"user":{"login":"marpo60","id":952074,"avatar_url":"https://avatars.githubusercontent.com/u/952074?v=3","gravatar_id":"","url":"https://api.github.com/users/marpo60","html_url":"https://github.com/marpo60","followers_url":"https://api.github.com/users/marpo60/followers","following_url":"https://api.github.com/users/marpo60/following{/other_user}","gists_url":"https://api.github.com/users/marpo60/gists{/gist_id}","starred_url":"https://api.github.com/users/marpo60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpo60/subscriptions","organizations_url":"https://api.github.com/users/marpo60/orgs","repos_url":"https://api.github.com/users/marpo60/repos","events_url":"https://api.github.com/users/marpo60/events{/privacy}","received_events_url":"https://api.github.com/users/marpo60/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T16:13:05Z","updated_at":"2016-12-26T16:13:05Z","body":"Faced the same issue and saw this PR.\r\n\r\nThere is a reference to `.clear` in the README.md that also need to be updated."}}
{"actor":{"display_login":"marpo60"}}