{"action":"closed","number":272,"pull_request":{"url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/272","id":95018029,"html_url":"https://github.com/AjuntamentdeBarcelona/decidim/pull/272","diff_url":"https://github.com/AjuntamentdeBarcelona/decidim/pull/272.diff","patch_url":"https://github.com/AjuntamentdeBarcelona/decidim/pull/272.patch","issue_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/272","number":272,"state":"closed","locked":false,"title":"Inject context from controller when using from_model. Closes #266","user":{"login":"oriolgual","id":5254,"avatar_url":"https://avatars.githubusercontent.com/u/5254?v=3","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},"body":"#### :tophat: What? Why?\r\n\r\nFixes #266.\r\n\r\n#### :ghost: GIF\r\n![](https://i.imgur.com/UxB4gx1.gif)\r\n\r\n","created_at":"2016-11-23T14:54:19Z","updated_at":"2016-11-23T16:51:28Z","closed_at":"2016-11-23T16:51:28Z","merged_at":"2016-11-23T16:51:28Z","merge_commit_sha":"a7d7788400b986075b871cd64a15cba92c50b1e1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/272/commits","review_comments_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/272/comments","review_comment_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/272/comments","statuses_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/statuses/930e93bc22831e1185142d36402d3a7ce8e7bc01","head":{"label":"AjuntamentdeBarcelona:fix/inject_attributes_with_from_model","ref":"fix/inject_attributes_with_from_model","sha":"930e93bc22831e1185142d36402d3a7ce8e7bc01","user":{"login":"AjuntamentdeBarcelona","id":16301934,"avatar_url":"https://avatars.githubusercontent.com/u/16301934?v=3","gravatar_id":"","url":"https://api.github.com/users/AjuntamentdeBarcelona","html_url":"https://github.com/AjuntamentdeBarcelona","followers_url":"https://api.github.com/users/AjuntamentdeBarcelona/followers","following_url":"https://api.github.com/users/AjuntamentdeBarcelona/following{/other_user}","gists_url":"https://api.github.com/users/AjuntamentdeBarcelona/gists{/gist_id}","starred_url":"https://api.github.com/users/AjuntamentdeBarcelona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjuntamentdeBarcelona/subscriptions","organizations_url":"https://api.github.com/users/AjuntamentdeBarcelona/orgs","repos_url":"https://api.github.com/users/AjuntamentdeBarcelona/repos","events_url":"https://api.github.com/users/AjuntamentdeBarcelona/events{/privacy}","received_events_url":"https://api.github.com/users/AjuntamentdeBarcelona/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"name":"decidim","full_name":"AjuntamentdeBarcelona/decidim","owner":{"login":"AjuntamentdeBarcelona","id":16301934,"avatar_url":"https://avatars.githubusercontent.com/u/16301934?v=3","gravatar_id":"","url":"https://api.github.com/users/AjuntamentdeBarcelona","html_url":"https://github.com/AjuntamentdeBarcelona","followers_url":"https://api.github.com/users/AjuntamentdeBarcelona/followers","following_url":"https://api.github.com/users/AjuntamentdeBarcelona/following{/other_user}","gists_url":"https://api.github.com/users/AjuntamentdeBarcelona/gists{/gist_id}","starred_url":"https://api.github.com/users/AjuntamentdeBarcelona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjuntamentdeBarcelona/subscriptions","organizations_url":"https://api.github.com/users/AjuntamentdeBarcelona/orgs","repos_url":"https://api.github.com/users/AjuntamentdeBarcelona/repos","events_url":"https://api.github.com/users/AjuntamentdeBarcelona/events{/privacy}","received_events_url":"https://api.github.com/users/AjuntamentdeBarcelona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AjuntamentdeBarcelona/decidim","description":"The participatory democracy framework","fork":false,"url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim","forks_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/forks","keys_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/teams","hooks_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/hooks","issue_events_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/events","assignees_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/tags","blobs_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/languages","stargazers_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/stargazers","contributors_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/contributors","subscribers_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/subscribers","subscription_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/subscription","commits_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/merges","archive_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/downloads","issues_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/labels{/name}","releases_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2016-11-18T10:02:39Z","pushed_at":"2016-11-23T16:51:28Z","git_url":"git://github.com/AjuntamentdeBarcelona/decidim.git","ssh_url":"git@github.com:AjuntamentdeBarcelona/decidim.git","clone_url":"https://github.com/AjuntamentdeBarcelona/decidim.git","svn_url":"https://github.com/AjuntamentdeBarcelona/decidim","homepage":"","size":4370,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":36,"forks":2,"open_issues":36,"watchers":2,"default_branch":"master"}},"base":{"label":"AjuntamentdeBarcelona:master","ref":"master","sha":"dcfbdec1cbe25bfc750c1a394035c7f5038a9cea","user":{"login":"AjuntamentdeBarcelona","id":16301934,"avatar_url":"https://avatars.githubusercontent.com/u/16301934?v=3","gravatar_id":"","url":"https://api.github.com/users/AjuntamentdeBarcelona","html_url":"https://github.com/AjuntamentdeBarcelona","followers_url":"https://api.github.com/users/AjuntamentdeBarcelona/followers","following_url":"https://api.github.com/users/AjuntamentdeBarcelona/following{/other_user}","gists_url":"https://api.github.com/users/AjuntamentdeBarcelona/gists{/gist_id}","starred_url":"https://api.github.com/users/AjuntamentdeBarcelona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjuntamentdeBarcelona/subscriptions","organizations_url":"https://api.github.com/users/AjuntamentdeBarcelona/orgs","repos_url":"https://api.github.com/users/AjuntamentdeBarcelona/repos","events_url":"https://api.github.com/users/AjuntamentdeBarcelona/events{/privacy}","received_events_url":"https://api.github.com/users/AjuntamentdeBarcelona/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"name":"decidim","full_name":"AjuntamentdeBarcelona/decidim","owner":{"login":"AjuntamentdeBarcelona","id":16301934,"avatar_url":"https://avatars.githubusercontent.com/u/16301934?v=3","gravatar_id":"","url":"https://api.github.com/users/AjuntamentdeBarcelona","html_url":"https://github.com/AjuntamentdeBarcelona","followers_url":"https://api.github.com/users/AjuntamentdeBarcelona/followers","following_url":"https://api.github.com/users/AjuntamentdeBarcelona/following{/other_user}","gists_url":"https://api.github.com/users/AjuntamentdeBarcelona/gists{/gist_id}","starred_url":"https://api.github.com/users/AjuntamentdeBarcelona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjuntamentdeBarcelona/subscriptions","organizations_url":"https://api.github.com/users/AjuntamentdeBarcelona/orgs","repos_url":"https://api.github.com/users/AjuntamentdeBarcelona/repos","events_url":"https://api.github.com/users/AjuntamentdeBarcelona/events{/privacy}","received_events_url":"https://api.github.com/users/AjuntamentdeBarcelona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AjuntamentdeBarcelona/decidim","description":"The participatory democracy framework","fork":false,"url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim","forks_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/forks","keys_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/teams","hooks_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/hooks","issue_events_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/events","assignees_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/tags","blobs_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/languages","stargazers_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/stargazers","contributors_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/contributors","subscribers_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/subscribers","subscription_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/subscription","commits_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/merges","archive_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/downloads","issues_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/labels{/name}","releases_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2016-11-18T10:02:39Z","pushed_at":"2016-11-23T16:51:28Z","git_url":"git://github.com/AjuntamentdeBarcelona/decidim.git","ssh_url":"git@github.com:AjuntamentdeBarcelona/decidim.git","clone_url":"https://github.com/AjuntamentdeBarcelona/decidim.git","svn_url":"https://github.com/AjuntamentdeBarcelona/decidim","homepage":"","size":4370,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":36,"forks":2,"open_issues":36,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/272"},"html":{"href":"https://github.com/AjuntamentdeBarcelona/decidim/pull/272"},"issue":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/272"},"comments":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/issues/272/comments"},"review_comments":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/272/comments"},"review_comment":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/pulls/272/commits"},"statuses":{"href":"https://api.github.com/repos/AjuntamentdeBarcelona/decidim/statuses/930e93bc22831e1185142d36402d3a7ce8e7bc01"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"josepjaume","id":111746,"avatar_url":"https://avatars.githubusercontent.com/u/111746?v=3","gravatar_id":"","url":"https://api.github.com/users/josepjaume","html_url":"https://github.com/josepjaume","followers_url":"https://api.github.com/users/josepjaume/followers","following_url":"https://api.github.com/users/josepjaume/following{/other_user}","gists_url":"https://api.github.com/users/josepjaume/gists{/gist_id}","starred_url":"https://api.github.com/users/josepjaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josepjaume/subscriptions","organizations_url":"https://api.github.com/users/josepjaume/orgs","repos_url":"https://api.github.com/users/josepjaume/repos","events_url":"https://api.github.com/users/josepjaume/events{/privacy}","received_events_url":"https://api.github.com/users/josepjaume/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"commits":1,"additions":88,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"josepjaume"}}