{"action":"created","issue":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/213","labels_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/213/comments","events_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/213/events","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/213","id":79594581,"number":213,"title":"Bake CSRF token in all ajax requests","user":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rajadain","id":1430060,"avatar_url":"https://avatars.githubusercontent.com/u/1430060?v=3","gravatar_id":"","url":"https://api.github.com/users/rajadain","html_url":"https://github.com/rajadain","followers_url":"https://api.github.com/users/rajadain/followers","following_url":"https://api.github.com/users/rajadain/following{/other_user}","gists_url":"https://api.github.com/users/rajadain/gists{/gist_id}","starred_url":"https://api.github.com/users/rajadain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajadain/subscriptions","organizations_url":"https://api.github.com/users/rajadain/orgs","repos_url":"https://api.github.com/users/rajadain/repos","events_url":"https://api.github.com/users/rajadain/events{/privacy}","received_events_url":"https://api.github.com/users/rajadain/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-05-22T20:19:48Z","updated_at":"2015-05-22T20:47:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/pulls/213","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/213","diff_url":"https://github.com/WikiWatershed/model-my-watershed/pull/213.diff","patch_url":"https://github.com/WikiWatershed/model-my-watershed/pull/213.patch"},"body":"Extends jQuery ajax options to include the `X-CSRFToken` header in each\r\najax request.\r\n\r\nConnects #197"},"comment":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/comments/104763635","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/213#issuecomment-104763635","issue_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/213","id":104763635,"user":{"login":"rajadain","id":1430060,"avatar_url":"https://avatars.githubusercontent.com/u/1430060?v=3","gravatar_id":"","url":"https://api.github.com/users/rajadain","html_url":"https://github.com/rajadain","followers_url":"https://api.github.com/users/rajadain/followers","following_url":"https://api.github.com/users/rajadain/following{/other_user}","gists_url":"https://api.github.com/users/rajadain/gists{/gist_id}","starred_url":"https://api.github.com/users/rajadain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajadain/subscriptions","organizations_url":"https://api.github.com/users/rajadain/orgs","repos_url":"https://api.github.com/users/rajadain/repos","events_url":"https://api.github.com/users/rajadain/events{/privacy}","received_events_url":"https://api.github.com/users/rajadain/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T20:47:55Z","updated_at":"2015-05-22T20:47:55Z","body":"Consider adding `$.ajaxSetup()` to the new `csrf` helper file, so that for any module that needs it can simply `require` it and not have to also initialize it. Is there a use case where we require it but don't initialize it?"}}