{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/888","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/888/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/888/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/888/events","html_url":"https://github.com/phoenixframework/phoenix/issues/888","id":76416464,"number":888,"title":"Remove plug :action in controllers","user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"chrismccord","id":576796,"avatar_url":"https://avatars.githubusercontent.com/u/576796?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismccord","html_url":"https://github.com/chrismccord","followers_url":"https://api.github.com/users/chrismccord/followers","following_url":"https://api.github.com/users/chrismccord/following{/other_user}","gists_url":"https://api.github.com/users/chrismccord/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismccord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismccord/subscriptions","organizations_url":"https://api.github.com/users/chrismccord/orgs","repos_url":"https://api.github.com/users/chrismccord/repos","events_url":"https://api.github.com/users/chrismccord/events{/privacy}","received_events_url":"https://api.github.com/users/chrismccord/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/phoenixframework/phoenix/milestones/10","html_url":"https://github.com/phoenixframework/phoenix/milestones/v0.14","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/milestones/10/labels","id":1110523,"number":10,"title":"v0.14","description":"","creator":{"login":"chrismccord","id":576796,"avatar_url":"https://avatars.githubusercontent.com/u/576796?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismccord","html_url":"https://github.com/chrismccord","followers_url":"https://api.github.com/users/chrismccord/followers","following_url":"https://api.github.com/users/chrismccord/following{/other_user}","gists_url":"https://api.github.com/users/chrismccord/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismccord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismccord/subscriptions","organizations_url":"https://api.github.com/users/chrismccord/orgs","repos_url":"https://api.github.com/users/chrismccord/repos","events_url":"https://api.github.com/users/chrismccord/events{/privacy}","received_events_url":"https://api.github.com/users/chrismccord/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-05-14T16:51:39Z","updated_at":"2015-05-16T09:00:00Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-14T16:37:49Z","updated_at":"2015-05-16T12:40:14Z","closed_at":null,"body":"It is going to be invoked automatically (in fact, we could get rid of the `action/2` function and just invoke it on call). We will also add `register_after_action/2`, similar to `register_before_send/2`, that will invoke the given functions after the action."},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/102623632","html_url":"https://github.com/phoenixframework/phoenix/issues/888#issuecomment-102623632","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/888","id":102623632,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T12:40:14Z","updated_at":"2015-05-16T12:40:14Z","body":"So I would say we can always invoke it and you can check for halting inside register_after_action. Or we can just postpone the decision and not add it... :D"}}