{"action":"created","comment":{"url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/comments/74511594","id":74511594,"diff_hunk":"@@ -17,25 +17,13 @@ def new\n   end\n \n   def create\n-    if params[:admin][:is_comptroller] == '1'\n-      @admin = Admin.new(comptroller_params.merge(password: password, password_confirmation: password))\n-      if @admin.save\n-        AdminMailer.send_comptroller_account(admin: @admin).deliver\n-        redirect_to admins_public_servants_path, notice: t('flash.public_servant.created')\n-      else\n-        render :new\n-      end\n+    @admin = Admin.new(admin_params.merge(password: password, password_confirmation: password))","path":"app/controllers/admins/public_servants_controller.rb","position":12,"original_position":12,"commit_id":"7d0fd06bd8c7e194676fd1919d4c827c83eb8a61","original_commit_id":"7d0fd06bd8c7e194676fd1919d4c827c83eb8a61","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [95/80]","created_at":"2016-08-11T21:58:04Z","updated_at":"2016-08-11T21:58:04Z","html_url":"https://github.com/civica-digital/urbem-puebla/pull/199#discussion_r74511594","pull_request_url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/comments/74511594"},"html":{"href":"https://github.com/civica-digital/urbem-puebla/pull/199#discussion_r74511594"},"pull_request":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199","id":81038347,"html_url":"https://github.com/civica-digital/urbem-puebla/pull/199","diff_url":"https://github.com/civica-digital/urbem-puebla/pull/199.diff","patch_url":"https://github.com/civica-digital/urbem-puebla/pull/199.patch","issue_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/199","number":199,"state":"open","locked":false,"title":"Eval user","user":{"login":"abisosa","id":1024556,"avatar_url":"https://avatars.githubusercontent.com/u/1024556?v=3","gravatar_id":"","url":"https://api.github.com/users/abisosa","html_url":"https://github.com/abisosa","followers_url":"https://api.github.com/users/abisosa/followers","following_url":"https://api.github.com/users/abisosa/following{/other_user}","gists_url":"https://api.github.com/users/abisosa/gists{/gist_id}","starred_url":"https://api.github.com/users/abisosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abisosa/subscriptions","organizations_url":"https://api.github.com/users/abisosa/orgs","repos_url":"https://api.github.com/users/abisosa/repos","events_url":"https://api.github.com/users/abisosa/events{/privacy}","received_events_url":"https://api.github.com/users/abisosa/received_events","type":"User","site_admin":false},"body":"Solves: https://www.pivotaltracker.com/story/show/128008005","created_at":"2016-08-11T21:57:58Z","updated_at":"2016-08-11T21:58:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae7b2b72a708e2519996826b767f5605bb0617aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199/commits","review_comments_url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199/comments","review_comment_url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/comments{/number}","comments_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/199/comments","statuses_url":"https://api.github.com/repos/civica-digital/urbem-puebla/statuses/7d0fd06bd8c7e194676fd1919d4c827c83eb8a61","head":{"label":"civica-digital:eval-user","ref":"eval-user","sha":"7d0fd06bd8c7e194676fd1919d4c827c83eb8a61","user":{"login":"civica-digital","id":10727864,"avatar_url":"https://avatars.githubusercontent.com/u/10727864?v=3","gravatar_id":"","url":"https://api.github.com/users/civica-digital","html_url":"https://github.com/civica-digital","followers_url":"https://api.github.com/users/civica-digital/followers","following_url":"https://api.github.com/users/civica-digital/following{/other_user}","gists_url":"https://api.github.com/users/civica-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/civica-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civica-digital/subscriptions","organizations_url":"https://api.github.com/users/civica-digital/orgs","repos_url":"https://api.github.com/users/civica-digital/repos","events_url":"https://api.github.com/users/civica-digital/events{/privacy}","received_events_url":"https://api.github.com/users/civica-digital/received_events","type":"Organization","site_admin":false},"repo":{"id":32949964,"name":"urbem-puebla","full_name":"civica-digital/urbem-puebla","owner":{"login":"civica-digital","id":10727864,"avatar_url":"https://avatars.githubusercontent.com/u/10727864?v=3","gravatar_id":"","url":"https://api.github.com/users/civica-digital","html_url":"https://github.com/civica-digital","followers_url":"https://api.github.com/users/civica-digital/followers","following_url":"https://api.github.com/users/civica-digital/following{/other_user}","gists_url":"https://api.github.com/users/civica-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/civica-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civica-digital/subscriptions","organizations_url":"https://api.github.com/users/civica-digital/orgs","repos_url":"https://api.github.com/users/civica-digital/repos","events_url":"https://api.github.com/users/civica-digital/events{/privacy}","received_events_url":"https://api.github.com/users/civica-digital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civica-digital/urbem-puebla","description":"La plataforma de código abierto para la gestión de reportes ciudadanos.","fork":true,"url":"https://api.github.com/repos/civica-digital/urbem-puebla","forks_url":"https://api.github.com/repos/civica-digital/urbem-puebla/forks","keys_url":"https://api.github.com/repos/civica-digital/urbem-puebla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civica-digital/urbem-puebla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civica-digital/urbem-puebla/teams","hooks_url":"https://api.github.com/repos/civica-digital/urbem-puebla/hooks","issue_events_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/events{/number}","events_url":"https://api.github.com/repos/civica-digital/urbem-puebla/events","assignees_url":"https://api.github.com/repos/civica-digital/urbem-puebla/assignees{/user}","branches_url":"https://api.github.com/repos/civica-digital/urbem-puebla/branches{/branch}","tags_url":"https://api.github.com/repos/civica-digital/urbem-puebla/tags","blobs_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/refs{/sha}","trees_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civica-digital/urbem-puebla/statuses/{sha}","languages_url":"https://api.github.com/repos/civica-digital/urbem-puebla/languages","stargazers_url":"https://api.github.com/repos/civica-digital/urbem-puebla/stargazers","contributors_url":"https://api.github.com/repos/civica-digital/urbem-puebla/contributors","subscribers_url":"https://api.github.com/repos/civica-digital/urbem-puebla/subscribers","subscription_url":"https://api.github.com/repos/civica-digital/urbem-puebla/subscription","commits_url":"https://api.github.com/repos/civica-digital/urbem-puebla/commits{/sha}","git_commits_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/commits{/sha}","comments_url":"https://api.github.com/repos/civica-digital/urbem-puebla/comments{/number}","issue_comment_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/comments{/number}","contents_url":"https://api.github.com/repos/civica-digital/urbem-puebla/contents/{+path}","compare_url":"https://api.github.com/repos/civica-digital/urbem-puebla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civica-digital/urbem-puebla/merges","archive_url":"https://api.github.com/repos/civica-digital/urbem-puebla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civica-digital/urbem-puebla/downloads","issues_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues{/number}","pulls_url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls{/number}","milestones_url":"https://api.github.com/repos/civica-digital/urbem-puebla/milestones{/number}","notifications_url":"https://api.github.com/repos/civica-digital/urbem-puebla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civica-digital/urbem-puebla/labels{/name}","releases_url":"https://api.github.com/repos/civica-digital/urbem-puebla/releases{/id}","deployments_url":"https://api.github.com/repos/civica-digital/urbem-puebla/deployments","created_at":"2015-03-26T20:23:41Z","updated_at":"2016-01-13T15:56:31Z","pushed_at":"2016-08-11T21:57:58Z","git_url":"git://github.com/civica-digital/urbem-puebla.git","ssh_url":"git@github.com:civica-digital/urbem-puebla.git","clone_url":"https://github.com/civica-digital/urbem-puebla.git","svn_url":"https://github.com/civica-digital/urbem-puebla","homepage":"http://codeandomexico.github.io/reporte-ciudadano/","size":20561,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"civica-digital:master","ref":"master","sha":"9ccdbba4f2e72aea7112e67b320349386b3ad051","user":{"login":"civica-digital","id":10727864,"avatar_url":"https://avatars.githubusercontent.com/u/10727864?v=3","gravatar_id":"","url":"https://api.github.com/users/civica-digital","html_url":"https://github.com/civica-digital","followers_url":"https://api.github.com/users/civica-digital/followers","following_url":"https://api.github.com/users/civica-digital/following{/other_user}","gists_url":"https://api.github.com/users/civica-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/civica-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civica-digital/subscriptions","organizations_url":"https://api.github.com/users/civica-digital/orgs","repos_url":"https://api.github.com/users/civica-digital/repos","events_url":"https://api.github.com/users/civica-digital/events{/privacy}","received_events_url":"https://api.github.com/users/civica-digital/received_events","type":"Organization","site_admin":false},"repo":{"id":32949964,"name":"urbem-puebla","full_name":"civica-digital/urbem-puebla","owner":{"login":"civica-digital","id":10727864,"avatar_url":"https://avatars.githubusercontent.com/u/10727864?v=3","gravatar_id":"","url":"https://api.github.com/users/civica-digital","html_url":"https://github.com/civica-digital","followers_url":"https://api.github.com/users/civica-digital/followers","following_url":"https://api.github.com/users/civica-digital/following{/other_user}","gists_url":"https://api.github.com/users/civica-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/civica-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civica-digital/subscriptions","organizations_url":"https://api.github.com/users/civica-digital/orgs","repos_url":"https://api.github.com/users/civica-digital/repos","events_url":"https://api.github.com/users/civica-digital/events{/privacy}","received_events_url":"https://api.github.com/users/civica-digital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civica-digital/urbem-puebla","description":"La plataforma de código abierto para la gestión de reportes ciudadanos.","fork":true,"url":"https://api.github.com/repos/civica-digital/urbem-puebla","forks_url":"https://api.github.com/repos/civica-digital/urbem-puebla/forks","keys_url":"https://api.github.com/repos/civica-digital/urbem-puebla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civica-digital/urbem-puebla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civica-digital/urbem-puebla/teams","hooks_url":"https://api.github.com/repos/civica-digital/urbem-puebla/hooks","issue_events_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/events{/number}","events_url":"https://api.github.com/repos/civica-digital/urbem-puebla/events","assignees_url":"https://api.github.com/repos/civica-digital/urbem-puebla/assignees{/user}","branches_url":"https://api.github.com/repos/civica-digital/urbem-puebla/branches{/branch}","tags_url":"https://api.github.com/repos/civica-digital/urbem-puebla/tags","blobs_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/refs{/sha}","trees_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civica-digital/urbem-puebla/statuses/{sha}","languages_url":"https://api.github.com/repos/civica-digital/urbem-puebla/languages","stargazers_url":"https://api.github.com/repos/civica-digital/urbem-puebla/stargazers","contributors_url":"https://api.github.com/repos/civica-digital/urbem-puebla/contributors","subscribers_url":"https://api.github.com/repos/civica-digital/urbem-puebla/subscribers","subscription_url":"https://api.github.com/repos/civica-digital/urbem-puebla/subscription","commits_url":"https://api.github.com/repos/civica-digital/urbem-puebla/commits{/sha}","git_commits_url":"https://api.github.com/repos/civica-digital/urbem-puebla/git/commits{/sha}","comments_url":"https://api.github.com/repos/civica-digital/urbem-puebla/comments{/number}","issue_comment_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/comments{/number}","contents_url":"https://api.github.com/repos/civica-digital/urbem-puebla/contents/{+path}","compare_url":"https://api.github.com/repos/civica-digital/urbem-puebla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civica-digital/urbem-puebla/merges","archive_url":"https://api.github.com/repos/civica-digital/urbem-puebla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civica-digital/urbem-puebla/downloads","issues_url":"https://api.github.com/repos/civica-digital/urbem-puebla/issues{/number}","pulls_url":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls{/number}","milestones_url":"https://api.github.com/repos/civica-digital/urbem-puebla/milestones{/number}","notifications_url":"https://api.github.com/repos/civica-digital/urbem-puebla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civica-digital/urbem-puebla/labels{/name}","releases_url":"https://api.github.com/repos/civica-digital/urbem-puebla/releases{/id}","deployments_url":"https://api.github.com/repos/civica-digital/urbem-puebla/deployments","created_at":"2015-03-26T20:23:41Z","updated_at":"2016-01-13T15:56:31Z","pushed_at":"2016-08-11T21:57:58Z","git_url":"git://github.com/civica-digital/urbem-puebla.git","ssh_url":"git@github.com:civica-digital/urbem-puebla.git","clone_url":"https://github.com/civica-digital/urbem-puebla.git","svn_url":"https://github.com/civica-digital/urbem-puebla","homepage":"http://codeandomexico.github.io/reporte-ciudadano/","size":20561,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199"},"html":{"href":"https://github.com/civica-digital/urbem-puebla/pull/199"},"issue":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/199"},"comments":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/civica-digital/urbem-puebla/statuses/7d0fd06bd8c7e194676fd1919d4c827c83eb8a61"}}}}
{"actor":{"display_login":"houndci-bot"}}