{"action":"created","comment":{"url":"https://api.github.com/repos/chiwenchen/myflix/pulls/comments/32017938","id":32017938,"diff_hunk":"@@ -0,0 +1,7 @@\n+class PagesController < ApplicationController\n+\n+  def front","path":"app/controllers/pages_controller.rb","position":3,"original_position":3,"commit_id":"829be3a82c382e25bf254c1897fb275949f5aa71","original_commit_id":"829be3a82c382e25bf254c1897fb275949f5aa71","user":{"login":"tomtomecek","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtomecek","html_url":"https://github.com/tomtomecek","followers_url":"https://api.github.com/users/tomtomecek/followers","following_url":"https://api.github.com/users/tomtomecek/following{/other_user}","gists_url":"https://api.github.com/users/tomtomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtomecek/subscriptions","organizations_url":"https://api.github.com/users/tomtomecek/orgs","repos_url":"https://api.github.com/users/tomtomecek/repos","events_url":"https://api.github.com/users/tomtomecek/events{/privacy}","received_events_url":"https://api.github.com/users/tomtomecek/received_events","type":"User","site_admin":false},"body":"This is usually left out - or you can use `def front; end`.","created_at":"2015-06-09T14:24:43Z","updated_at":"2015-06-09T14:24:43Z","html_url":"https://github.com/chiwenchen/myflix/pull/1#discussion_r32017938","pull_request_url":"https://api.github.com/repos/chiwenchen/myflix/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/chiwenchen/myflix/pulls/comments/32017938"},"html":{"href":"https://github.com/chiwenchen/myflix/pull/1#discussion_r32017938"},"pull_request":{"href":"https://api.github.com/repos/chiwenchen/myflix/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/chiwenchen/myflix/pulls/1","id":37256737,"html_url":"https://github.com/chiwenchen/myflix/pull/1","diff_url":"https://github.com/chiwenchen/myflix/pull/1.diff","patch_url":"https://github.com/chiwenchen/myflix/pull/1.patch","issue_url":"https://api.github.com/repos/chiwenchen/myflix/issues/1","number":1,"state":"open","locked":false,"title":"for pull request","user":{"login":"chiwenchen","id":8636929,"avatar_url":"https://avatars.githubusercontent.com/u/8636929?v=3","gravatar_id":"","url":"https://api.github.com/users/chiwenchen","html_url":"https://github.com/chiwenchen","followers_url":"https://api.github.com/users/chiwenchen/followers","following_url":"https://api.github.com/users/chiwenchen/following{/other_user}","gists_url":"https://api.github.com/users/chiwenchen/gists{/gist_id}","starred_url":"https://api.github.com/users/chiwenchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiwenchen/subscriptions","organizations_url":"https://api.github.com/users/chiwenchen/orgs","repos_url":"https://api.github.com/users/chiwenchen/repos","events_url":"https://api.github.com/users/chiwenchen/events{/privacy}","received_events_url":"https://api.github.com/users/chiwenchen/received_events","type":"User","site_admin":false},"body":"please raise any suggestion if any, thanks!!","created_at":"2015-06-09T14:06:38Z","updated_at":"2015-06-09T14:24:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e65213a82a79ef1e17a3367c7e807ea26d157f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chiwenchen/myflix/pulls/1/commits","review_comments_url":"https://api.github.com/repos/chiwenchen/myflix/pulls/1/comments","review_comment_url":"https://api.github.com/repos/chiwenchen/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chiwenchen/myflix/issues/1/comments","statuses_url":"https://api.github.com/repos/chiwenchen/myflix/statuses/829be3a82c382e25bf254c1897fb275949f5aa71","head":{"label":"chiwenchen:mark_zero","ref":"mark_zero","sha":"829be3a82c382e25bf254c1897fb275949f5aa71","user":{"login":"chiwenchen","id":8636929,"avatar_url":"https://avatars.githubusercontent.com/u/8636929?v=3","gravatar_id":"","url":"https://api.github.com/users/chiwenchen","html_url":"https://github.com/chiwenchen","followers_url":"https://api.github.com/users/chiwenchen/followers","following_url":"https://api.github.com/users/chiwenchen/following{/other_user}","gists_url":"https://api.github.com/users/chiwenchen/gists{/gist_id}","starred_url":"https://api.github.com/users/chiwenchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiwenchen/subscriptions","organizations_url":"https://api.github.com/users/chiwenchen/orgs","repos_url":"https://api.github.com/users/chiwenchen/repos","events_url":"https://api.github.com/users/chiwenchen/events{/privacy}","received_events_url":"https://api.github.com/users/chiwenchen/received_events","type":"User","site_admin":false},"repo":{"id":35957335,"name":"myflix","full_name":"chiwenchen/myflix","owner":{"login":"chiwenchen","id":8636929,"avatar_url":"https://avatars.githubusercontent.com/u/8636929?v=3","gravatar_id":"","url":"https://api.github.com/users/chiwenchen","html_url":"https://github.com/chiwenchen","followers_url":"https://api.github.com/users/chiwenchen/followers","following_url":"https://api.github.com/users/chiwenchen/following{/other_user}","gists_url":"https://api.github.com/users/chiwenchen/gists{/gist_id}","starred_url":"https://api.github.com/users/chiwenchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiwenchen/subscriptions","organizations_url":"https://api.github.com/users/chiwenchen/orgs","repos_url":"https://api.github.com/users/chiwenchen/repos","events_url":"https://api.github.com/users/chiwenchen/events{/privacy}","received_events_url":"https://api.github.com/users/chiwenchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chiwenchen/myflix","description":"Tealeaf teaching project","fork":false,"url":"https://api.github.com/repos/chiwenchen/myflix","forks_url":"https://api.github.com/repos/chiwenchen/myflix/forks","keys_url":"https://api.github.com/repos/chiwenchen/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chiwenchen/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chiwenchen/myflix/teams","hooks_url":"https://api.github.com/repos/chiwenchen/myflix/hooks","issue_events_url":"https://api.github.com/repos/chiwenchen/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/chiwenchen/myflix/events","assignees_url":"https://api.github.com/repos/chiwenchen/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/chiwenchen/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/chiwenchen/myflix/tags","blobs_url":"https://api.github.com/repos/chiwenchen/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chiwenchen/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chiwenchen/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/chiwenchen/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chiwenchen/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/chiwenchen/myflix/languages","stargazers_url":"https://api.github.com/repos/chiwenchen/myflix/stargazers","contributors_url":"https://api.github.com/repos/chiwenchen/myflix/contributors","subscribers_url":"https://api.github.com/repos/chiwenchen/myflix/subscribers","subscription_url":"https://api.github.com/repos/chiwenchen/myflix/subscription","commits_url":"https://api.github.com/repos/chiwenchen/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/chiwenchen/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/chiwenchen/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/chiwenchen/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/chiwenchen/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/chiwenchen/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chiwenchen/myflix/merges","archive_url":"https://api.github.com/repos/chiwenchen/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chiwenchen/myflix/downloads","issues_url":"https://api.github.com/repos/chiwenchen/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/chiwenchen/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/chiwenchen/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/chiwenchen/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chiwenchen/myflix/labels{/name}","releases_url":"https://api.github.com/repos/chiwenchen/myflix/releases{/id}","created_at":"2015-05-20T15:38:14Z","updated_at":"2015-06-09T12:15:00Z","pushed_at":"2015-06-09T14:06:38Z","git_url":"git://github.com/chiwenchen/myflix.git","ssh_url":"git@github.com:chiwenchen/myflix.git","clone_url":"https://github.com/chiwenchen/myflix.git","svn_url":"https://github.com/chiwenchen/myflix","homepage":null,"size":680,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"chiwenchen:master","ref":"master","sha":"2d7ae92e4c8a16c140d7d962838966211deeb0a6","user":{"login":"chiwenchen","id":8636929,"avatar_url":"https://avatars.githubusercontent.com/u/8636929?v=3","gravatar_id":"","url":"https://api.github.com/users/chiwenchen","html_url":"https://github.com/chiwenchen","followers_url":"https://api.github.com/users/chiwenchen/followers","following_url":"https://api.github.com/users/chiwenchen/following{/other_user}","gists_url":"https://api.github.com/users/chiwenchen/gists{/gist_id}","starred_url":"https://api.github.com/users/chiwenchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiwenchen/subscriptions","organizations_url":"https://api.github.com/users/chiwenchen/orgs","repos_url":"https://api.github.com/users/chiwenchen/repos","events_url":"https://api.github.com/users/chiwenchen/events{/privacy}","received_events_url":"https://api.github.com/users/chiwenchen/received_events","type":"User","site_admin":false},"repo":{"id":35957335,"name":"myflix","full_name":"chiwenchen/myflix","owner":{"login":"chiwenchen","id":8636929,"avatar_url":"https://avatars.githubusercontent.com/u/8636929?v=3","gravatar_id":"","url":"https://api.github.com/users/chiwenchen","html_url":"https://github.com/chiwenchen","followers_url":"https://api.github.com/users/chiwenchen/followers","following_url":"https://api.github.com/users/chiwenchen/following{/other_user}","gists_url":"https://api.github.com/users/chiwenchen/gists{/gist_id}","starred_url":"https://api.github.com/users/chiwenchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiwenchen/subscriptions","organizations_url":"https://api.github.com/users/chiwenchen/orgs","repos_url":"https://api.github.com/users/chiwenchen/repos","events_url":"https://api.github.com/users/chiwenchen/events{/privacy}","received_events_url":"https://api.github.com/users/chiwenchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chiwenchen/myflix","description":"Tealeaf teaching project","fork":false,"url":"https://api.github.com/repos/chiwenchen/myflix","forks_url":"https://api.github.com/repos/chiwenchen/myflix/forks","keys_url":"https://api.github.com/repos/chiwenchen/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chiwenchen/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chiwenchen/myflix/teams","hooks_url":"https://api.github.com/repos/chiwenchen/myflix/hooks","issue_events_url":"https://api.github.com/repos/chiwenchen/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/chiwenchen/myflix/events","assignees_url":"https://api.github.com/repos/chiwenchen/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/chiwenchen/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/chiwenchen/myflix/tags","blobs_url":"https://api.github.com/repos/chiwenchen/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chiwenchen/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chiwenchen/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/chiwenchen/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chiwenchen/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/chiwenchen/myflix/languages","stargazers_url":"https://api.github.com/repos/chiwenchen/myflix/stargazers","contributors_url":"https://api.github.com/repos/chiwenchen/myflix/contributors","subscribers_url":"https://api.github.com/repos/chiwenchen/myflix/subscribers","subscription_url":"https://api.github.com/repos/chiwenchen/myflix/subscription","commits_url":"https://api.github.com/repos/chiwenchen/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/chiwenchen/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/chiwenchen/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/chiwenchen/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/chiwenchen/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/chiwenchen/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chiwenchen/myflix/merges","archive_url":"https://api.github.com/repos/chiwenchen/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chiwenchen/myflix/downloads","issues_url":"https://api.github.com/repos/chiwenchen/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/chiwenchen/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/chiwenchen/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/chiwenchen/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chiwenchen/myflix/labels{/name}","releases_url":"https://api.github.com/repos/chiwenchen/myflix/releases{/id}","created_at":"2015-05-20T15:38:14Z","updated_at":"2015-06-09T12:15:00Z","pushed_at":"2015-06-09T14:06:38Z","git_url":"git://github.com/chiwenchen/myflix.git","ssh_url":"git@github.com:chiwenchen/myflix.git","clone_url":"https://github.com/chiwenchen/myflix.git","svn_url":"https://github.com/chiwenchen/myflix","homepage":null,"size":680,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chiwenchen/myflix/pulls/1"},"html":{"href":"https://github.com/chiwenchen/myflix/pull/1"},"issue":{"href":"https://api.github.com/repos/chiwenchen/myflix/issues/1"},"comments":{"href":"https://api.github.com/repos/chiwenchen/myflix/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/chiwenchen/myflix/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/chiwenchen/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chiwenchen/myflix/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/chiwenchen/myflix/statuses/829be3a82c382e25bf254c1897fb275949f5aa71"}}}}