{"action":"created","comment":{"url":"https://api.github.com/repos/ritesh2741/hims/pulls/comments/34146982","id":34146982,"diff_hunk":"@@ -8,11 +8,19 @@ table.table.table-bordered\n       b Scheduled Date\n     td\n       b Room No\n+    td\n+      b Status\n+    -if current_user.role == 'superadmin'","path":"app/views/appointments/index.html.slim","position":6,"original_position":6,"commit_id":"e32339a2c2f31ec22b2ff94fc0d95ece74ecf037","original_commit_id":"e32339a2c2f31ec22b2ff94fc0d95ece74ecf037","user":{"login":"prasvin","id":672496,"avatar_url":"https://avatars.githubusercontent.com/u/672496?v=3","gravatar_id":"","url":"https://api.github.com/users/prasvin","html_url":"https://github.com/prasvin","followers_url":"https://api.github.com/users/prasvin/followers","following_url":"https://api.github.com/users/prasvin/following{/other_user}","gists_url":"https://api.github.com/users/prasvin/gists{/gist_id}","starred_url":"https://api.github.com/users/prasvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasvin/subscriptions","organizations_url":"https://api.github.com/users/prasvin/orgs","repos_url":"https://api.github.com/users/prasvin/repos","events_url":"https://api.github.com/users/prasvin/events{/privacy}","received_events_url":"https://api.github.com/users/prasvin/received_events","type":"User","site_admin":false},"body":"`current_user.is_superadmin?`. In general, avoid conditions on templates.","created_at":"2015-07-08T13:34:16Z","updated_at":"2015-07-08T13:34:16Z","html_url":"https://github.com/ritesh2741/hims/pull/12#discussion_r34146982","pull_request_url":"https://api.github.com/repos/ritesh2741/hims/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/ritesh2741/hims/pulls/comments/34146982"},"html":{"href":"https://github.com/ritesh2741/hims/pull/12#discussion_r34146982"},"pull_request":{"href":"https://api.github.com/repos/ritesh2741/hims/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/ritesh2741/hims/pulls/12","id":39341603,"html_url":"https://github.com/ritesh2741/hims/pull/12","diff_url":"https://github.com/ritesh2741/hims/pull/12.diff","patch_url":"https://github.com/ritesh2741/hims/pull/12.patch","issue_url":"https://api.github.com/repos/ritesh2741/hims/issues/12","number":12,"state":"open","locked":false,"title":"Appointment status and max appointment logic added","user":{"login":"ritesh2741","id":6086966,"avatar_url":"https://avatars.githubusercontent.com/u/6086966?v=3","gravatar_id":"","url":"https://api.github.com/users/ritesh2741","html_url":"https://github.com/ritesh2741","followers_url":"https://api.github.com/users/ritesh2741/followers","following_url":"https://api.github.com/users/ritesh2741/following{/other_user}","gists_url":"https://api.github.com/users/ritesh2741/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh2741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh2741/subscriptions","organizations_url":"https://api.github.com/users/ritesh2741/orgs","repos_url":"https://api.github.com/users/ritesh2741/repos","events_url":"https://api.github.com/users/ritesh2741/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh2741/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-07T07:22:57Z","updated_at":"2015-07-08T13:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ddc52b99f274f38d4cecb16a47e69fec22502dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ritesh2741/hims/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ritesh2741/hims/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ritesh2741/hims/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ritesh2741/hims/issues/12/comments","statuses_url":"https://api.github.com/repos/ritesh2741/hims/statuses/e32339a2c2f31ec22b2ff94fc0d95ece74ecf037","head":{"label":"ritesh2741:appointment_modifications","ref":"appointment_modifications","sha":"e32339a2c2f31ec22b2ff94fc0d95ece74ecf037","user":{"login":"ritesh2741","id":6086966,"avatar_url":"https://avatars.githubusercontent.com/u/6086966?v=3","gravatar_id":"","url":"https://api.github.com/users/ritesh2741","html_url":"https://github.com/ritesh2741","followers_url":"https://api.github.com/users/ritesh2741/followers","following_url":"https://api.github.com/users/ritesh2741/following{/other_user}","gists_url":"https://api.github.com/users/ritesh2741/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh2741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh2741/subscriptions","organizations_url":"https://api.github.com/users/ritesh2741/orgs","repos_url":"https://api.github.com/users/ritesh2741/repos","events_url":"https://api.github.com/users/ritesh2741/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh2741/received_events","type":"User","site_admin":false},"repo":{"id":37803636,"name":"hims","full_name":"ritesh2741/hims","owner":{"login":"ritesh2741","id":6086966,"avatar_url":"https://avatars.githubusercontent.com/u/6086966?v=3","gravatar_id":"","url":"https://api.github.com/users/ritesh2741","html_url":"https://github.com/ritesh2741","followers_url":"https://api.github.com/users/ritesh2741/followers","following_url":"https://api.github.com/users/ritesh2741/following{/other_user}","gists_url":"https://api.github.com/users/ritesh2741/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh2741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh2741/subscriptions","organizations_url":"https://api.github.com/users/ritesh2741/orgs","repos_url":"https://api.github.com/users/ritesh2741/repos","events_url":"https://api.github.com/users/ritesh2741/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh2741/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ritesh2741/hims","description":"","fork":false,"url":"https://api.github.com/repos/ritesh2741/hims","forks_url":"https://api.github.com/repos/ritesh2741/hims/forks","keys_url":"https://api.github.com/repos/ritesh2741/hims/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ritesh2741/hims/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ritesh2741/hims/teams","hooks_url":"https://api.github.com/repos/ritesh2741/hims/hooks","issue_events_url":"https://api.github.com/repos/ritesh2741/hims/issues/events{/number}","events_url":"https://api.github.com/repos/ritesh2741/hims/events","assignees_url":"https://api.github.com/repos/ritesh2741/hims/assignees{/user}","branches_url":"https://api.github.com/repos/ritesh2741/hims/branches{/branch}","tags_url":"https://api.github.com/repos/ritesh2741/hims/tags","blobs_url":"https://api.github.com/repos/ritesh2741/hims/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ritesh2741/hims/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ritesh2741/hims/git/refs{/sha}","trees_url":"https://api.github.com/repos/ritesh2741/hims/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ritesh2741/hims/statuses/{sha}","languages_url":"https://api.github.com/repos/ritesh2741/hims/languages","stargazers_url":"https://api.github.com/repos/ritesh2741/hims/stargazers","contributors_url":"https://api.github.com/repos/ritesh2741/hims/contributors","subscribers_url":"https://api.github.com/repos/ritesh2741/hims/subscribers","subscription_url":"https://api.github.com/repos/ritesh2741/hims/subscription","commits_url":"https://api.github.com/repos/ritesh2741/hims/commits{/sha}","git_commits_url":"https://api.github.com/repos/ritesh2741/hims/git/commits{/sha}","comments_url":"https://api.github.com/repos/ritesh2741/hims/comments{/number}","issue_comment_url":"https://api.github.com/repos/ritesh2741/hims/issues/comments{/number}","contents_url":"https://api.github.com/repos/ritesh2741/hims/contents/{+path}","compare_url":"https://api.github.com/repos/ritesh2741/hims/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ritesh2741/hims/merges","archive_url":"https://api.github.com/repos/ritesh2741/hims/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ritesh2741/hims/downloads","issues_url":"https://api.github.com/repos/ritesh2741/hims/issues{/number}","pulls_url":"https://api.github.com/repos/ritesh2741/hims/pulls{/number}","milestones_url":"https://api.github.com/repos/ritesh2741/hims/milestones{/number}","notifications_url":"https://api.github.com/repos/ritesh2741/hims/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ritesh2741/hims/labels{/name}","releases_url":"https://api.github.com/repos/ritesh2741/hims/releases{/id}","created_at":"2015-06-21T09:31:37Z","updated_at":"2015-06-21T09:34:18Z","pushed_at":"2015-07-08T08:27:33Z","git_url":"git://github.com/ritesh2741/hims.git","ssh_url":"git@github.com:ritesh2741/hims.git","clone_url":"https://github.com/ritesh2741/hims.git","svn_url":"https://github.com/ritesh2741/hims","homepage":null,"size":300,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"ritesh2741:master","ref":"master","sha":"93dc75be98a86af2424f496f34c9764d1c2823fc","user":{"login":"ritesh2741","id":6086966,"avatar_url":"https://avatars.githubusercontent.com/u/6086966?v=3","gravatar_id":"","url":"https://api.github.com/users/ritesh2741","html_url":"https://github.com/ritesh2741","followers_url":"https://api.github.com/users/ritesh2741/followers","following_url":"https://api.github.com/users/ritesh2741/following{/other_user}","gists_url":"https://api.github.com/users/ritesh2741/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh2741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh2741/subscriptions","organizations_url":"https://api.github.com/users/ritesh2741/orgs","repos_url":"https://api.github.com/users/ritesh2741/repos","events_url":"https://api.github.com/users/ritesh2741/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh2741/received_events","type":"User","site_admin":false},"repo":{"id":37803636,"name":"hims","full_name":"ritesh2741/hims","owner":{"login":"ritesh2741","id":6086966,"avatar_url":"https://avatars.githubusercontent.com/u/6086966?v=3","gravatar_id":"","url":"https://api.github.com/users/ritesh2741","html_url":"https://github.com/ritesh2741","followers_url":"https://api.github.com/users/ritesh2741/followers","following_url":"https://api.github.com/users/ritesh2741/following{/other_user}","gists_url":"https://api.github.com/users/ritesh2741/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh2741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh2741/subscriptions","organizations_url":"https://api.github.com/users/ritesh2741/orgs","repos_url":"https://api.github.com/users/ritesh2741/repos","events_url":"https://api.github.com/users/ritesh2741/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh2741/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ritesh2741/hims","description":"","fork":false,"url":"https://api.github.com/repos/ritesh2741/hims","forks_url":"https://api.github.com/repos/ritesh2741/hims/forks","keys_url":"https://api.github.com/repos/ritesh2741/hims/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ritesh2741/hims/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ritesh2741/hims/teams","hooks_url":"https://api.github.com/repos/ritesh2741/hims/hooks","issue_events_url":"https://api.github.com/repos/ritesh2741/hims/issues/events{/number}","events_url":"https://api.github.com/repos/ritesh2741/hims/events","assignees_url":"https://api.github.com/repos/ritesh2741/hims/assignees{/user}","branches_url":"https://api.github.com/repos/ritesh2741/hims/branches{/branch}","tags_url":"https://api.github.com/repos/ritesh2741/hims/tags","blobs_url":"https://api.github.com/repos/ritesh2741/hims/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ritesh2741/hims/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ritesh2741/hims/git/refs{/sha}","trees_url":"https://api.github.com/repos/ritesh2741/hims/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ritesh2741/hims/statuses/{sha}","languages_url":"https://api.github.com/repos/ritesh2741/hims/languages","stargazers_url":"https://api.github.com/repos/ritesh2741/hims/stargazers","contributors_url":"https://api.github.com/repos/ritesh2741/hims/contributors","subscribers_url":"https://api.github.com/repos/ritesh2741/hims/subscribers","subscription_url":"https://api.github.com/repos/ritesh2741/hims/subscription","commits_url":"https://api.github.com/repos/ritesh2741/hims/commits{/sha}","git_commits_url":"https://api.github.com/repos/ritesh2741/hims/git/commits{/sha}","comments_url":"https://api.github.com/repos/ritesh2741/hims/comments{/number}","issue_comment_url":"https://api.github.com/repos/ritesh2741/hims/issues/comments{/number}","contents_url":"https://api.github.com/repos/ritesh2741/hims/contents/{+path}","compare_url":"https://api.github.com/repos/ritesh2741/hims/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ritesh2741/hims/merges","archive_url":"https://api.github.com/repos/ritesh2741/hims/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ritesh2741/hims/downloads","issues_url":"https://api.github.com/repos/ritesh2741/hims/issues{/number}","pulls_url":"https://api.github.com/repos/ritesh2741/hims/pulls{/number}","milestones_url":"https://api.github.com/repos/ritesh2741/hims/milestones{/number}","notifications_url":"https://api.github.com/repos/ritesh2741/hims/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ritesh2741/hims/labels{/name}","releases_url":"https://api.github.com/repos/ritesh2741/hims/releases{/id}","created_at":"2015-06-21T09:31:37Z","updated_at":"2015-06-21T09:34:18Z","pushed_at":"2015-07-08T08:27:33Z","git_url":"git://github.com/ritesh2741/hims.git","ssh_url":"git@github.com:ritesh2741/hims.git","clone_url":"https://github.com/ritesh2741/hims.git","svn_url":"https://github.com/ritesh2741/hims","homepage":null,"size":300,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ritesh2741/hims/pulls/12"},"html":{"href":"https://github.com/ritesh2741/hims/pull/12"},"issue":{"href":"https://api.github.com/repos/ritesh2741/hims/issues/12"},"comments":{"href":"https://api.github.com/repos/ritesh2741/hims/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ritesh2741/hims/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ritesh2741/hims/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ritesh2741/hims/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ritesh2741/hims/statuses/e32339a2c2f31ec22b2ff94fc0d95ece74ecf037"}}}}