{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/mmezher/school/pulls/1","id":81187736,"html_url":"https://github.com/mmezher/school/pull/1","diff_url":"https://github.com/mmezher/school/pull/1.diff","patch_url":"https://github.com/mmezher/school/pull/1.patch","issue_url":"https://api.github.com/repos/mmezher/school/issues/1","number":1,"state":"open","locked":false,"title":"Addition of helper function for admin views","user":{"login":"mmezher","id":15054747,"avatar_url":"https://avatars.githubusercontent.com/u/15054747?v=3","gravatar_id":"","url":"https://api.github.com/users/mmezher","html_url":"https://github.com/mmezher","followers_url":"https://api.github.com/users/mmezher/followers","following_url":"https://api.github.com/users/mmezher/following{/other_user}","gists_url":"https://api.github.com/users/mmezher/gists{/gist_id}","starred_url":"https://api.github.com/users/mmezher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmezher/subscriptions","organizations_url":"https://api.github.com/users/mmezher/orgs","repos_url":"https://api.github.com/users/mmezher/repos","events_url":"https://api.github.com/users/mmezher/events{/privacy}","received_events_url":"https://api.github.com/users/mmezher/received_events","type":"User","site_admin":false},"body":"Adds admin view helper function for views has_admin_rights which can be used to change what options for editing are seen. ","created_at":"2016-08-12T21:46:01Z","updated_at":"2016-08-12T21:46:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0949a6be40bdaaa722bfd44ef574ba0adfbc517e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mmezher/school/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mmezher/school/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mmezher/school/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mmezher/school/issues/1/comments","statuses_url":"https://api.github.com/repos/mmezher/school/statuses/3d499fe1ea4346e4300ce997019086a2988ce9ec","head":{"label":"rails-school:master","ref":"master","sha":"3d499fe1ea4346e4300ce997019086a2988ce9ec","user":{"login":"rails-school","id":2917568,"avatar_url":"https://avatars.githubusercontent.com/u/2917568?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-school","html_url":"https://github.com/rails-school","followers_url":"https://api.github.com/users/rails-school/followers","following_url":"https://api.github.com/users/rails-school/following{/other_user}","gists_url":"https://api.github.com/users/rails-school/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-school/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-school/subscriptions","organizations_url":"https://api.github.com/users/rails-school/orgs","repos_url":"https://api.github.com/users/rails-school/repos","events_url":"https://api.github.com/users/rails-school/events{/privacy}","received_events_url":"https://api.github.com/users/rails-school/received_events","type":"Organization","site_admin":false},"repo":{"id":7245533,"name":"school","full_name":"rails-school/school","owner":{"login":"rails-school","id":2917568,"avatar_url":"https://avatars.githubusercontent.com/u/2917568?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-school","html_url":"https://github.com/rails-school","followers_url":"https://api.github.com/users/rails-school/followers","following_url":"https://api.github.com/users/rails-school/following{/other_user}","gists_url":"https://api.github.com/users/rails-school/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-school/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-school/subscriptions","organizations_url":"https://api.github.com/users/rails-school/orgs","repos_url":"https://api.github.com/users/rails-school/repos","events_url":"https://api.github.com/users/rails-school/events{/privacy}","received_events_url":"https://api.github.com/users/rails-school/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails-school/school","description":"Rails School San Francisco Official Website","fork":false,"url":"https://api.github.com/repos/rails-school/school","forks_url":"https://api.github.com/repos/rails-school/school/forks","keys_url":"https://api.github.com/repos/rails-school/school/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails-school/school/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails-school/school/teams","hooks_url":"https://api.github.com/repos/rails-school/school/hooks","issue_events_url":"https://api.github.com/repos/rails-school/school/issues/events{/number}","events_url":"https://api.github.com/repos/rails-school/school/events","assignees_url":"https://api.github.com/repos/rails-school/school/assignees{/user}","branches_url":"https://api.github.com/repos/rails-school/school/branches{/branch}","tags_url":"https://api.github.com/repos/rails-school/school/tags","blobs_url":"https://api.github.com/repos/rails-school/school/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails-school/school/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails-school/school/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails-school/school/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails-school/school/statuses/{sha}","languages_url":"https://api.github.com/repos/rails-school/school/languages","stargazers_url":"https://api.github.com/repos/rails-school/school/stargazers","contributors_url":"https://api.github.com/repos/rails-school/school/contributors","subscribers_url":"https://api.github.com/repos/rails-school/school/subscribers","subscription_url":"https://api.github.com/repos/rails-school/school/subscription","commits_url":"https://api.github.com/repos/rails-school/school/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails-school/school/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails-school/school/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails-school/school/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails-school/school/contents/{+path}","compare_url":"https://api.github.com/repos/rails-school/school/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails-school/school/merges","archive_url":"https://api.github.com/repos/rails-school/school/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails-school/school/downloads","issues_url":"https://api.github.com/repos/rails-school/school/issues{/number}","pulls_url":"https://api.github.com/repos/rails-school/school/pulls{/number}","milestones_url":"https://api.github.com/repos/rails-school/school/milestones{/number}","notifications_url":"https://api.github.com/repos/rails-school/school/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails-school/school/labels{/name}","releases_url":"https://api.github.com/repos/rails-school/school/releases{/id}","deployments_url":"https://api.github.com/repos/rails-school/school/deployments","created_at":"2012-12-19T18:47:44Z","updated_at":"2016-07-15T20:35:11Z","pushed_at":"2016-07-27T23:28:39Z","git_url":"git://github.com/rails-school/school.git","ssh_url":"git@github.com:rails-school/school.git","clone_url":"https://github.com/rails-school/school.git","svn_url":"https://github.com/rails-school/school","homepage":"https://www.railsschool.org","size":2386,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":25,"forks":30,"open_issues":25,"watchers":12,"default_branch":"master"}},"base":{"label":"mmezher:master","ref":"master","sha":"d7fd18ab619303d9ef8b955a00b1c193ce82ff2e","user":{"login":"mmezher","id":15054747,"avatar_url":"https://avatars.githubusercontent.com/u/15054747?v=3","gravatar_id":"","url":"https://api.github.com/users/mmezher","html_url":"https://github.com/mmezher","followers_url":"https://api.github.com/users/mmezher/followers","following_url":"https://api.github.com/users/mmezher/following{/other_user}","gists_url":"https://api.github.com/users/mmezher/gists{/gist_id}","starred_url":"https://api.github.com/users/mmezher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmezher/subscriptions","organizations_url":"https://api.github.com/users/mmezher/orgs","repos_url":"https://api.github.com/users/mmezher/repos","events_url":"https://api.github.com/users/mmezher/events{/privacy}","received_events_url":"https://api.github.com/users/mmezher/received_events","type":"User","site_admin":false},"repo":{"id":60301306,"name":"school","full_name":"mmezher/school","owner":{"login":"mmezher","id":15054747,"avatar_url":"https://avatars.githubusercontent.com/u/15054747?v=3","gravatar_id":"","url":"https://api.github.com/users/mmezher","html_url":"https://github.com/mmezher","followers_url":"https://api.github.com/users/mmezher/followers","following_url":"https://api.github.com/users/mmezher/following{/other_user}","gists_url":"https://api.github.com/users/mmezher/gists{/gist_id}","starred_url":"https://api.github.com/users/mmezher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmezher/subscriptions","organizations_url":"https://api.github.com/users/mmezher/orgs","repos_url":"https://api.github.com/users/mmezher/repos","events_url":"https://api.github.com/users/mmezher/events{/privacy}","received_events_url":"https://api.github.com/users/mmezher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmezher/school","description":"Rails School San Francisco Official Website","fork":true,"url":"https://api.github.com/repos/mmezher/school","forks_url":"https://api.github.com/repos/mmezher/school/forks","keys_url":"https://api.github.com/repos/mmezher/school/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmezher/school/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmezher/school/teams","hooks_url":"https://api.github.com/repos/mmezher/school/hooks","issue_events_url":"https://api.github.com/repos/mmezher/school/issues/events{/number}","events_url":"https://api.github.com/repos/mmezher/school/events","assignees_url":"https://api.github.com/repos/mmezher/school/assignees{/user}","branches_url":"https://api.github.com/repos/mmezher/school/branches{/branch}","tags_url":"https://api.github.com/repos/mmezher/school/tags","blobs_url":"https://api.github.com/repos/mmezher/school/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmezher/school/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmezher/school/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmezher/school/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmezher/school/statuses/{sha}","languages_url":"https://api.github.com/repos/mmezher/school/languages","stargazers_url":"https://api.github.com/repos/mmezher/school/stargazers","contributors_url":"https://api.github.com/repos/mmezher/school/contributors","subscribers_url":"https://api.github.com/repos/mmezher/school/subscribers","subscription_url":"https://api.github.com/repos/mmezher/school/subscription","commits_url":"https://api.github.com/repos/mmezher/school/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmezher/school/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmezher/school/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmezher/school/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmezher/school/contents/{+path}","compare_url":"https://api.github.com/repos/mmezher/school/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmezher/school/merges","archive_url":"https://api.github.com/repos/mmezher/school/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmezher/school/downloads","issues_url":"https://api.github.com/repos/mmezher/school/issues{/number}","pulls_url":"https://api.github.com/repos/mmezher/school/pulls{/number}","milestones_url":"https://api.github.com/repos/mmezher/school/milestones{/number}","notifications_url":"https://api.github.com/repos/mmezher/school/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmezher/school/labels{/name}","releases_url":"https://api.github.com/repos/mmezher/school/releases{/id}","deployments_url":"https://api.github.com/repos/mmezher/school/deployments","created_at":"2016-06-02T22:22:43Z","updated_at":"2016-06-02T22:22:44Z","pushed_at":"2016-08-12T21:46:01Z","git_url":"git://github.com/mmezher/school.git","ssh_url":"git@github.com:mmezher/school.git","clone_url":"https://github.com/mmezher/school.git","svn_url":"https://github.com/mmezher/school","homepage":"https://www.railsschool.org","size":2327,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mmezher/school/pulls/1"},"html":{"href":"https://github.com/mmezher/school/pull/1"},"issue":{"href":"https://api.github.com/repos/mmezher/school/issues/1"},"comments":{"href":"https://api.github.com/repos/mmezher/school/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mmezher/school/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mmezher/school/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mmezher/school/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mmezher/school/statuses/3d499fe1ea4346e4300ce997019086a2988ce9ec"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":5,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"mmezher"}}