{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/818","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/818/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/818/events","html_url":"https://github.com/publiclab/plots2/issues/818","id":176754100,"number":818,"title":"Moderating a wiki revision needs cache flush in URL","user":{"login":"jywarren","id":24359,"avatar_url":"https://avatars.githubusercontent.com/u/24359?v=3","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/publiclab/plots2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/publiclab/plots2/labels/help-wanted","name":"help-wanted","color":"bfe5bf"},{"url":"https://api.github.com/repos/publiclab/plots2/labels/Ruby","name":"Ruby","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-13T21:25:27Z","updated_at":"2016-10-09T18:21:11Z","closed_at":null,"body":"### What happened just before the problem occurred\r\n\r\nAfter marking a wiki revision as spam (on a page [like this](https://publiclab.org/wiki/revisions/london-uk)), the revisions page doesn't show the new content; we should redirect back to the revisions page, not the dashboard, and append `'?_=' + Time.now.to_i.to_s` so the browser cache flushes. \r\n\r\nThe code for this redirect is here: https://github.com/publiclab/plots2/blob/master/app/controllers/admin_controller.rb#L143-L146\r\n\r\nSee an example of cache flushing of this sort here: https://github.com/publiclab/plots2/blob/master/app/controllers/admin_controller.rb#L16"},"comment":{"url":"https://api.github.com/repos/publiclab/plots2/issues/comments/252502972","html_url":"https://github.com/publiclab/plots2/issues/818#issuecomment-252502972","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/818","id":252502972,"user":{"login":"jywarren","id":24359,"avatar_url":"https://avatars.githubusercontent.com/u/24359?v=3","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T18:21:11Z","updated_at":"2016-10-09T18:21:11Z","body":"Back from staff retreat and hopefully can chip in more here; please ping me if you get stuck! -- thanks!"}}
{"actor":{"display_login":"jywarren"}}