{"action":"created","comment":{"url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments/45334188","id":45334188,"diff_hunk":"@@ -16,4 +17,13 @@ def new\n     def user_params\n       params.require(:user).permit(:upload_date)\n     end\n+\n+    def validate_date","path":"app/controllers/user_charts_controller.rb","position":12,"original_position":12,"commit_id":"500717ac34f2d1cacb7ea0e371618afe2ea5cde2","original_commit_id":"500717ac34f2d1cacb7ea0e371618afe2ea5cde2","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Inconsistent indentation detected.","created_at":"2015-11-19T12:29:13Z","updated_at":"2015-11-19T12:29:13Z","html_url":"https://github.com/edenisn/imgur_clone/pull/16#discussion_r45334188","pull_request_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments/45334188"},"html":{"href":"https://github.com/edenisn/imgur_clone/pull/16#discussion_r45334188"},"pull_request":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16","id":51216098,"html_url":"https://github.com/edenisn/imgur_clone/pull/16","diff_url":"https://github.com/edenisn/imgur_clone/pull/16.diff","patch_url":"https://github.com/edenisn/imgur_clone/pull/16.patch","issue_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/16","number":16,"state":"closed","locked":false,"title":"validate date input and add admin controller","user":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-19T12:29:04Z","updated_at":"2015-11-19T12:29:13Z","closed_at":"2015-11-19T12:29:12Z","merged_at":"2015-11-19T12:29:12Z","merge_commit_sha":"600fe7a57fc44e0e040dc5c2706760d0df7ecd0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16/commits","review_comments_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16/comments","review_comment_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/16/comments","statuses_url":"https://api.github.com/repos/edenisn/imgur_clone/statuses/500717ac34f2d1cacb7ea0e371618afe2ea5cde2","head":{"label":"edenisn:review-code","ref":"review-code","sha":"500717ac34f2d1cacb7ea0e371618afe2ea5cde2","user":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"repo":{"id":45415527,"name":"imgur_clone","full_name":"edenisn/imgur_clone","owner":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edenisn/imgur_clone","description":"image hosting","fork":false,"url":"https://api.github.com/repos/edenisn/imgur_clone","forks_url":"https://api.github.com/repos/edenisn/imgur_clone/forks","keys_url":"https://api.github.com/repos/edenisn/imgur_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenisn/imgur_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenisn/imgur_clone/teams","hooks_url":"https://api.github.com/repos/edenisn/imgur_clone/hooks","issue_events_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/events{/number}","events_url":"https://api.github.com/repos/edenisn/imgur_clone/events","assignees_url":"https://api.github.com/repos/edenisn/imgur_clone/assignees{/user}","branches_url":"https://api.github.com/repos/edenisn/imgur_clone/branches{/branch}","tags_url":"https://api.github.com/repos/edenisn/imgur_clone/tags","blobs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenisn/imgur_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenisn/imgur_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenisn/imgur_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/edenisn/imgur_clone/languages","stargazers_url":"https://api.github.com/repos/edenisn/imgur_clone/stargazers","contributors_url":"https://api.github.com/repos/edenisn/imgur_clone/contributors","subscribers_url":"https://api.github.com/repos/edenisn/imgur_clone/subscribers","subscription_url":"https://api.github.com/repos/edenisn/imgur_clone/subscription","commits_url":"https://api.github.com/repos/edenisn/imgur_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenisn/imgur_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenisn/imgur_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenisn/imgur_clone/contents/{+path}","compare_url":"https://api.github.com/repos/edenisn/imgur_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenisn/imgur_clone/merges","archive_url":"https://api.github.com/repos/edenisn/imgur_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenisn/imgur_clone/downloads","issues_url":"https://api.github.com/repos/edenisn/imgur_clone/issues{/number}","pulls_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/edenisn/imgur_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/edenisn/imgur_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenisn/imgur_clone/labels{/name}","releases_url":"https://api.github.com/repos/edenisn/imgur_clone/releases{/id}","created_at":"2015-11-02T19:05:07Z","updated_at":"2015-11-02T19:11:57Z","pushed_at":"2015-11-19T12:29:13Z","git_url":"git://github.com/edenisn/imgur_clone.git","ssh_url":"git@github.com:edenisn/imgur_clone.git","clone_url":"https://github.com/edenisn/imgur_clone.git","svn_url":"https://github.com/edenisn/imgur_clone","homepage":null,"size":8184,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"edenisn:master","ref":"master","sha":"ab2606bccbb710455d4117bcc4774897e6bd90d4","user":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"repo":{"id":45415527,"name":"imgur_clone","full_name":"edenisn/imgur_clone","owner":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edenisn/imgur_clone","description":"image hosting","fork":false,"url":"https://api.github.com/repos/edenisn/imgur_clone","forks_url":"https://api.github.com/repos/edenisn/imgur_clone/forks","keys_url":"https://api.github.com/repos/edenisn/imgur_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenisn/imgur_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenisn/imgur_clone/teams","hooks_url":"https://api.github.com/repos/edenisn/imgur_clone/hooks","issue_events_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/events{/number}","events_url":"https://api.github.com/repos/edenisn/imgur_clone/events","assignees_url":"https://api.github.com/repos/edenisn/imgur_clone/assignees{/user}","branches_url":"https://api.github.com/repos/edenisn/imgur_clone/branches{/branch}","tags_url":"https://api.github.com/repos/edenisn/imgur_clone/tags","blobs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenisn/imgur_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenisn/imgur_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenisn/imgur_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/edenisn/imgur_clone/languages","stargazers_url":"https://api.github.com/repos/edenisn/imgur_clone/stargazers","contributors_url":"https://api.github.com/repos/edenisn/imgur_clone/contributors","subscribers_url":"https://api.github.com/repos/edenisn/imgur_clone/subscribers","subscription_url":"https://api.github.com/repos/edenisn/imgur_clone/subscription","commits_url":"https://api.github.com/repos/edenisn/imgur_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenisn/imgur_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenisn/imgur_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenisn/imgur_clone/contents/{+path}","compare_url":"https://api.github.com/repos/edenisn/imgur_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenisn/imgur_clone/merges","archive_url":"https://api.github.com/repos/edenisn/imgur_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenisn/imgur_clone/downloads","issues_url":"https://api.github.com/repos/edenisn/imgur_clone/issues{/number}","pulls_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/edenisn/imgur_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/edenisn/imgur_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenisn/imgur_clone/labels{/name}","releases_url":"https://api.github.com/repos/edenisn/imgur_clone/releases{/id}","created_at":"2015-11-02T19:05:07Z","updated_at":"2015-11-02T19:11:57Z","pushed_at":"2015-11-19T12:29:13Z","git_url":"git://github.com/edenisn/imgur_clone.git","ssh_url":"git@github.com:edenisn/imgur_clone.git","clone_url":"https://github.com/edenisn/imgur_clone.git","svn_url":"https://github.com/edenisn/imgur_clone","homepage":null,"size":8184,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16"},"html":{"href":"https://github.com/edenisn/imgur_clone/pull/16"},"issue":{"href":"https://api.github.com/repos/edenisn/imgur_clone/issues/16"},"comments":{"href":"https://api.github.com/repos/edenisn/imgur_clone/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/edenisn/imgur_clone/statuses/500717ac34f2d1cacb7ea0e371618afe2ea5cde2"}}}}