{"action":"created","comment":{"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments/80912767","pull_request_review_id":1931156,"id":80912767,"diff_hunk":"@@ -164,6 +164,10 @@ def ssl_options\n         put 'push_to_draft'\n         put 'push_to_trash'\n       end\n+\n+      collection do\n+        post :move_project_to_channel","path":"config/routes.rb","position":6,"original_position":6,"commit_id":"f7d0f7a48f7aa38440eee713dc5dd9a59e44dee1","original_commit_id":"0c6728418f5307fc8e3cf893614c726694093e5b","user":{"login":"adbatista","id":485381,"avatar_url":"https://avatars.githubusercontent.com/u/485381?v=3","gravatar_id":"","url":"https://api.github.com/users/adbatista","html_url":"https://github.com/adbatista","followers_url":"https://api.github.com/users/adbatista/followers","following_url":"https://api.github.com/users/adbatista/following{/other_user}","gists_url":"https://api.github.com/users/adbatista/gists{/gist_id}","starred_url":"https://api.github.com/users/adbatista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adbatista/subscriptions","organizations_url":"https://api.github.com/users/adbatista/orgs","repos_url":"https://api.github.com/users/adbatista/repos","events_url":"https://api.github.com/users/adbatista/events{/privacy}","received_events_url":"https://api.github.com/users/adbatista/received_events","type":"User","site_admin":false},"body":"como vc só tem uma rota collection aqui, use essa sintaxe `post :move_project_to_channel, on: collection` ","created_at":"2016-09-28T13:19:11Z","updated_at":"2016-09-28T13:19:20Z","html_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/214#discussion_r80912767","pull_request_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214","_links":{"self":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments/80912767"},"html":{"href":"https://github.com/juntos-com-vc/juntos.com.vc/pull/214#discussion_r80912767"},"pull_request":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214"}}},"pull_request":{"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214","id":87117291,"html_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/214","diff_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/214.diff","patch_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/214.patch","issue_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/214","number":214,"state":"open","locked":false,"title":"Move a project a channel","user":{"login":"matheuscla","id":12254845,"avatar_url":"https://avatars.githubusercontent.com/u/12254845?v=3","gravatar_id":"","url":"https://api.github.com/users/matheuscla","html_url":"https://github.com/matheuscla","followers_url":"https://api.github.com/users/matheuscla/followers","following_url":"https://api.github.com/users/matheuscla/following{/other_user}","gists_url":"https://api.github.com/users/matheuscla/gists{/gist_id}","starred_url":"https://api.github.com/users/matheuscla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheuscla/subscriptions","organizations_url":"https://api.github.com/users/matheuscla/orgs","repos_url":"https://api.github.com/users/matheuscla/repos","events_url":"https://api.github.com/users/matheuscla/events{/privacy}","received_events_url":"https://api.github.com/users/matheuscla/received_events","type":"User","site_admin":false},"body":"This pr aim to create a new admin form to move a project to a channel.\r\n**Context:** Sometimes a project was created outside a channel accidentally and there was no way to move a project to a channel.","created_at":"2016-09-28T13:15:18Z","updated_at":"2016-09-28T13:19:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"549894a0c4ac077590cf3585e3d904376adb1a8f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214/commits","review_comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214/comments","review_comment_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/214/comments","statuses_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/f7d0f7a48f7aa38440eee713dc5dd9a59e44dee1","head":{"label":"juntos-com-vc:move-project-channel","ref":"move-project-channel","sha":"f7d0f7a48f7aa38440eee713dc5dd9a59e44dee1","user":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"repo":{"id":25652386,"name":"juntos.com.vc","full_name":"juntos-com-vc/juntos.com.vc","owner":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juntos-com-vc/juntos.com.vc","description":"","fork":false,"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc","forks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/forks","keys_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/teams","hooks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/hooks","issue_events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/events{/number}","events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/events","assignees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/assignees{/user}","branches_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/branches{/branch}","tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/tags","blobs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/refs{/sha}","trees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/{sha}","languages_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/languages","stargazers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/stargazers","contributors_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contributors","subscribers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscribers","subscription_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscription","commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/commits{/sha}","git_commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/commits{/sha}","comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/comments{/number}","issue_comment_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/comments{/number}","contents_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contents/{+path}","compare_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/merges","archive_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/downloads","issues_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues{/number}","pulls_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls{/number}","milestones_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/milestones{/number}","notifications_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/labels{/name}","releases_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/releases{/id}","deployments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/deployments","created_at":"2014-10-23T18:43:07Z","updated_at":"2016-09-27T18:30:49Z","pushed_at":"2016-09-28T13:17:06Z","git_url":"git://github.com/juntos-com-vc/juntos.com.vc.git","ssh_url":"git@github.com:juntos-com-vc/juntos.com.vc.git","clone_url":"https://github.com/juntos-com-vc/juntos.com.vc.git","svn_url":"https://github.com/juntos-com-vc/juntos.com.vc","homepage":null,"size":50638,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":5,"default_branch":"master"}},"base":{"label":"juntos-com-vc:master","ref":"master","sha":"c9e03748d76fcbeba014a20727d1c8cf195cb7ca","user":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"repo":{"id":25652386,"name":"juntos.com.vc","full_name":"juntos-com-vc/juntos.com.vc","owner":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juntos-com-vc/juntos.com.vc","description":"","fork":false,"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc","forks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/forks","keys_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/teams","hooks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/hooks","issue_events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/events{/number}","events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/events","assignees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/assignees{/user}","branches_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/branches{/branch}","tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/tags","blobs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/refs{/sha}","trees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/{sha}","languages_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/languages","stargazers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/stargazers","contributors_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contributors","subscribers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscribers","subscription_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscription","commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/commits{/sha}","git_commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/commits{/sha}","comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/comments{/number}","issue_comment_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/comments{/number}","contents_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contents/{+path}","compare_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/merges","archive_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/downloads","issues_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues{/number}","pulls_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls{/number}","milestones_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/milestones{/number}","notifications_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/labels{/name}","releases_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/releases{/id}","deployments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/deployments","created_at":"2014-10-23T18:43:07Z","updated_at":"2016-09-27T18:30:49Z","pushed_at":"2016-09-28T13:17:06Z","git_url":"git://github.com/juntos-com-vc/juntos.com.vc.git","ssh_url":"git@github.com:juntos-com-vc/juntos.com.vc.git","clone_url":"https://github.com/juntos-com-vc/juntos.com.vc.git","svn_url":"https://github.com/juntos-com-vc/juntos.com.vc","homepage":null,"size":50638,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214"},"html":{"href":"https://github.com/juntos-com-vc/juntos.com.vc/pull/214"},"issue":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/214"},"comments":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/214/comments"},"review_comments":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214/comments"},"review_comment":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/214/commits"},"statuses":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/f7d0f7a48f7aa38440eee713dc5dd9a59e44dee1"}}}}
{"actor":{"display_login":"adbatista"}}