{"action":"created","comment":{"url":"https://api.github.com/repos/epicodus/epicenter/pulls/comments/28447526","id":28447526,"diff_hunk":"@@ -1,6 +1,10 @@\n <p><%= I18n.t(\"devise.mailer.invitation_instructions.hello\", email: @resource.email) %></p>","path":"app/views/devise/mailer/invitation_instructions.html.erb","position":1,"original_position":1,"commit_id":"b56b7825061d362c408a84bde6624cdedae61dd2","original_commit_id":"b56b7825061d362c408a84bde6624cdedae61dd2","user":{"login":"michaelrkn","id":1266530,"avatar_url":"https://avatars.githubusercontent.com/u/1266530?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelrkn","html_url":"https://github.com/michaelrkn","followers_url":"https://api.github.com/users/michaelrkn/followers","following_url":"https://api.github.com/users/michaelrkn/following{/other_user}","gists_url":"https://api.github.com/users/michaelrkn/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrkn/subscriptions","organizations_url":"https://api.github.com/users/michaelrkn/orgs","repos_url":"https://api.github.com/users/michaelrkn/repos","events_url":"https://api.github.com/users/michaelrkn/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrkn/received_events","type":"User","site_admin":false},"body":"Let's not use the YML file and instead just write the text in the body. Start off by using the template from Close.io and modify it to fit our needs.","created_at":"2015-04-15T18:22:24Z","updated_at":"2015-04-15T18:22:24Z","html_url":"https://github.com/epicodus/epicenter/pull/159#discussion_r28447526","pull_request_url":"https://api.github.com/repos/epicodus/epicenter/pulls/159","_links":{"self":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/comments/28447526"},"html":{"href":"https://github.com/epicodus/epicenter/pull/159#discussion_r28447526"},"pull_request":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/159"}}},"pull_request":{"url":"https://api.github.com/repos/epicodus/epicenter/pulls/159","id":33320651,"html_url":"https://github.com/epicodus/epicenter/pull/159","diff_url":"https://github.com/epicodus/epicenter/pull/159.diff","patch_url":"https://github.com/epicodus/epicenter/pull/159.patch","issue_url":"https://api.github.com/repos/epicodus/epicenter/issues/159","number":159,"state":"open","locked":false,"title":"Admin invite","user":{"login":"jenmccarthy","id":7583165,"avatar_url":"https://avatars.githubusercontent.com/u/7583165?v=3","gravatar_id":"","url":"https://api.github.com/users/jenmccarthy","html_url":"https://github.com/jenmccarthy","followers_url":"https://api.github.com/users/jenmccarthy/followers","following_url":"https://api.github.com/users/jenmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/jenmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmccarthy/subscriptions","organizations_url":"https://api.github.com/users/jenmccarthy/orgs","repos_url":"https://api.github.com/users/jenmccarthy/repos","events_url":"https://api.github.com/users/jenmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/jenmccarthy/received_events","type":"User","site_admin":false},"body":"Much easier to allow Devise to do its magic! I know that there is an attribute for an admin that needs to be set upon creation...I didn't include it here as I'm not sure which one it is.\r\n\r\nDoes an admin require a \"current_cohort_id\" or \"cohort_id\" or \"plan_id\" or all of the above?\r\n\r\nOnce I know for sure, I will need to add that to the edit invitation form (and to the permitted params in the application controller as well, I think).","created_at":"2015-04-15T03:47:27Z","updated_at":"2015-04-15T18:22:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c47344a128527c08c6e85463962a6f12ffe647b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/epicodus/epicenter/pulls/159/commits","review_comments_url":"https://api.github.com/repos/epicodus/epicenter/pulls/159/comments","review_comment_url":"https://api.github.com/repos/epicodus/epicenter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epicodus/epicenter/issues/159/comments","statuses_url":"https://api.github.com/repos/epicodus/epicenter/statuses/b56b7825061d362c408a84bde6624cdedae61dd2","head":{"label":"epicodus:admin_invite","ref":"admin_invite","sha":"b56b7825061d362c408a84bde6624cdedae61dd2","user":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"repo":{"id":21055360,"name":"epicenter","full_name":"epicodus/epicenter","owner":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epicodus/epicenter","description":"Student portal of sorts","fork":false,"url":"https://api.github.com/repos/epicodus/epicenter","forks_url":"https://api.github.com/repos/epicodus/epicenter/forks","keys_url":"https://api.github.com/repos/epicodus/epicenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epicodus/epicenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epicodus/epicenter/teams","hooks_url":"https://api.github.com/repos/epicodus/epicenter/hooks","issue_events_url":"https://api.github.com/repos/epicodus/epicenter/issues/events{/number}","events_url":"https://api.github.com/repos/epicodus/epicenter/events","assignees_url":"https://api.github.com/repos/epicodus/epicenter/assignees{/user}","branches_url":"https://api.github.com/repos/epicodus/epicenter/branches{/branch}","tags_url":"https://api.github.com/repos/epicodus/epicenter/tags","blobs_url":"https://api.github.com/repos/epicodus/epicenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epicodus/epicenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epicodus/epicenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/epicodus/epicenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epicodus/epicenter/statuses/{sha}","languages_url":"https://api.github.com/repos/epicodus/epicenter/languages","stargazers_url":"https://api.github.com/repos/epicodus/epicenter/stargazers","contributors_url":"https://api.github.com/repos/epicodus/epicenter/contributors","subscribers_url":"https://api.github.com/repos/epicodus/epicenter/subscribers","subscription_url":"https://api.github.com/repos/epicodus/epicenter/subscription","commits_url":"https://api.github.com/repos/epicodus/epicenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/epicodus/epicenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/epicodus/epicenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/epicodus/epicenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/epicodus/epicenter/contents/{+path}","compare_url":"https://api.github.com/repos/epicodus/epicenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epicodus/epicenter/merges","archive_url":"https://api.github.com/repos/epicodus/epicenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epicodus/epicenter/downloads","issues_url":"https://api.github.com/repos/epicodus/epicenter/issues{/number}","pulls_url":"https://api.github.com/repos/epicodus/epicenter/pulls{/number}","milestones_url":"https://api.github.com/repos/epicodus/epicenter/milestones{/number}","notifications_url":"https://api.github.com/repos/epicodus/epicenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epicodus/epicenter/labels{/name}","releases_url":"https://api.github.com/repos/epicodus/epicenter/releases{/id}","created_at":"2014-06-20T23:19:33Z","updated_at":"2015-04-11T01:02:16Z","pushed_at":"2015-04-15T17:26:55Z","git_url":"git://github.com/epicodus/epicenter.git","ssh_url":"git@github.com:epicodus/epicenter.git","clone_url":"https://github.com/epicodus/epicenter.git","svn_url":"https://github.com/epicodus/epicenter","homepage":"","size":4311,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":21,"forks":10,"open_issues":21,"watchers":3,"default_branch":"master"}},"base":{"label":"epicodus:master","ref":"master","sha":"94a274eccbd3ac96543fae5f4d7e9647956e0674","user":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"repo":{"id":21055360,"name":"epicenter","full_name":"epicodus/epicenter","owner":{"login":"epicodus","id":3527941,"avatar_url":"https://avatars.githubusercontent.com/u/3527941?v=3","gravatar_id":"","url":"https://api.github.com/users/epicodus","html_url":"https://github.com/epicodus","followers_url":"https://api.github.com/users/epicodus/followers","following_url":"https://api.github.com/users/epicodus/following{/other_user}","gists_url":"https://api.github.com/users/epicodus/gists{/gist_id}","starred_url":"https://api.github.com/users/epicodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicodus/subscriptions","organizations_url":"https://api.github.com/users/epicodus/orgs","repos_url":"https://api.github.com/users/epicodus/repos","events_url":"https://api.github.com/users/epicodus/events{/privacy}","received_events_url":"https://api.github.com/users/epicodus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epicodus/epicenter","description":"Student portal of sorts","fork":false,"url":"https://api.github.com/repos/epicodus/epicenter","forks_url":"https://api.github.com/repos/epicodus/epicenter/forks","keys_url":"https://api.github.com/repos/epicodus/epicenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epicodus/epicenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epicodus/epicenter/teams","hooks_url":"https://api.github.com/repos/epicodus/epicenter/hooks","issue_events_url":"https://api.github.com/repos/epicodus/epicenter/issues/events{/number}","events_url":"https://api.github.com/repos/epicodus/epicenter/events","assignees_url":"https://api.github.com/repos/epicodus/epicenter/assignees{/user}","branches_url":"https://api.github.com/repos/epicodus/epicenter/branches{/branch}","tags_url":"https://api.github.com/repos/epicodus/epicenter/tags","blobs_url":"https://api.github.com/repos/epicodus/epicenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epicodus/epicenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epicodus/epicenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/epicodus/epicenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epicodus/epicenter/statuses/{sha}","languages_url":"https://api.github.com/repos/epicodus/epicenter/languages","stargazers_url":"https://api.github.com/repos/epicodus/epicenter/stargazers","contributors_url":"https://api.github.com/repos/epicodus/epicenter/contributors","subscribers_url":"https://api.github.com/repos/epicodus/epicenter/subscribers","subscription_url":"https://api.github.com/repos/epicodus/epicenter/subscription","commits_url":"https://api.github.com/repos/epicodus/epicenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/epicodus/epicenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/epicodus/epicenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/epicodus/epicenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/epicodus/epicenter/contents/{+path}","compare_url":"https://api.github.com/repos/epicodus/epicenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epicodus/epicenter/merges","archive_url":"https://api.github.com/repos/epicodus/epicenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epicodus/epicenter/downloads","issues_url":"https://api.github.com/repos/epicodus/epicenter/issues{/number}","pulls_url":"https://api.github.com/repos/epicodus/epicenter/pulls{/number}","milestones_url":"https://api.github.com/repos/epicodus/epicenter/milestones{/number}","notifications_url":"https://api.github.com/repos/epicodus/epicenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epicodus/epicenter/labels{/name}","releases_url":"https://api.github.com/repos/epicodus/epicenter/releases{/id}","created_at":"2014-06-20T23:19:33Z","updated_at":"2015-04-11T01:02:16Z","pushed_at":"2015-04-15T17:26:55Z","git_url":"git://github.com/epicodus/epicenter.git","ssh_url":"git@github.com:epicodus/epicenter.git","clone_url":"https://github.com/epicodus/epicenter.git","svn_url":"https://github.com/epicodus/epicenter","homepage":"","size":4311,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":21,"forks":10,"open_issues":21,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/159"},"html":{"href":"https://github.com/epicodus/epicenter/pull/159"},"issue":{"href":"https://api.github.com/repos/epicodus/epicenter/issues/159"},"comments":{"href":"https://api.github.com/repos/epicodus/epicenter/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epicodus/epicenter/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/epicodus/epicenter/statuses/b56b7825061d362c408a84bde6624cdedae61dd2"}}}}