{"action":"created","comment":{"url":"https://api.github.com/repos/mantunes/plae/pulls/comments/42356689","id":42356689,"diff_hunk":"@@ -0,0 +1,57 @@\n+class TimeEntriesController < ApplicationController\n+  before_action :set_time_entry, only: [:show, :edit, :update, :destroy]\n+\n+  rescue_from ActiveRecord::RecordNotFound do\n+    flash[:notice] = 'The object you tried to access does not exist'\n+    redirect_to users_path\n+    end","path":"app/controllers/time_entries_controller.rb","position":7,"original_position":7,"commit_id":"c423b6c3105dd5e2fac6c7ee8970046db376488c","original_commit_id":"c423b6c3105dd5e2fac6c7ee8970046db376488c","user":{"login":"jbernardo95","id":6342528,"avatar_url":"https://avatars.githubusercontent.com/u/6342528?v=3","gravatar_id":"","url":"https://api.github.com/users/jbernardo95","html_url":"https://github.com/jbernardo95","followers_url":"https://api.github.com/users/jbernardo95/followers","following_url":"https://api.github.com/users/jbernardo95/following{/other_user}","gists_url":"https://api.github.com/users/jbernardo95/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernardo95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernardo95/subscriptions","organizations_url":"https://api.github.com/users/jbernardo95/orgs","repos_url":"https://api.github.com/users/jbernardo95/repos","events_url":"https://api.github.com/users/jbernardo95/events{/privacy}","received_events_url":"https://api.github.com/users/jbernardo95/received_events","type":"User","site_admin":false},"body":"Identação","created_at":"2015-10-19T10:36:16Z","updated_at":"2015-10-19T10:36:16Z","html_url":"https://github.com/mantunes/plae/pull/3#discussion_r42356689","pull_request_url":"https://api.github.com/repos/mantunes/plae/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/mantunes/plae/pulls/comments/42356689"},"html":{"href":"https://github.com/mantunes/plae/pull/3#discussion_r42356689"},"pull_request":{"href":"https://api.github.com/repos/mantunes/plae/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/mantunes/plae/pulls/3","id":48052993,"html_url":"https://github.com/mantunes/plae/pull/3","diff_url":"https://github.com/mantunes/plae/pull/3.diff","patch_url":"https://github.com/mantunes/plae/pull/3.patch","issue_url":"https://api.github.com/repos/mantunes/plae/issues/3","number":3,"state":"open","locked":false,"title":"Plae 69","user":{"login":"agfranco","id":14979189,"avatar_url":"https://avatars.githubusercontent.com/u/14979189?v=3","gravatar_id":"","url":"https://api.github.com/users/agfranco","html_url":"https://github.com/agfranco","followers_url":"https://api.github.com/users/agfranco/followers","following_url":"https://api.github.com/users/agfranco/following{/other_user}","gists_url":"https://api.github.com/users/agfranco/gists{/gist_id}","starred_url":"https://api.github.com/users/agfranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agfranco/subscriptions","organizations_url":"https://api.github.com/users/agfranco/orgs","repos_url":"https://api.github.com/users/agfranco/repos","events_url":"https://api.github.com/users/agfranco/events{/privacy}","received_events_url":"https://api.github.com/users/agfranco/received_events","type":"User","site_admin":false},"body":"Created relationship between time entries and users, added testing and authorisation systems","created_at":"2015-10-19T10:14:46Z","updated_at":"2015-10-19T10:36:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3ab25128911ab5da6db8853c3fc8f4e9c4040c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mantunes/plae/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mantunes/plae/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mantunes/plae/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mantunes/plae/issues/3/comments","statuses_url":"https://api.github.com/repos/mantunes/plae/statuses/c423b6c3105dd5e2fac6c7ee8970046db376488c","head":{"label":"mantunes:PLAE-69","ref":"PLAE-69","sha":"c423b6c3105dd5e2fac6c7ee8970046db376488c","user":{"login":"mantunes","id":527492,"avatar_url":"https://avatars.githubusercontent.com/u/527492?v=3","gravatar_id":"","url":"https://api.github.com/users/mantunes","html_url":"https://github.com/mantunes","followers_url":"https://api.github.com/users/mantunes/followers","following_url":"https://api.github.com/users/mantunes/following{/other_user}","gists_url":"https://api.github.com/users/mantunes/gists{/gist_id}","starred_url":"https://api.github.com/users/mantunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantunes/subscriptions","organizations_url":"https://api.github.com/users/mantunes/orgs","repos_url":"https://api.github.com/users/mantunes/repos","events_url":"https://api.github.com/users/mantunes/events{/privacy}","received_events_url":"https://api.github.com/users/mantunes/received_events","type":"User","site_admin":false},"repo":{"id":43698446,"name":"plae","full_name":"mantunes/plae","owner":{"login":"mantunes","id":527492,"avatar_url":"https://avatars.githubusercontent.com/u/527492?v=3","gravatar_id":"","url":"https://api.github.com/users/mantunes","html_url":"https://github.com/mantunes","followers_url":"https://api.github.com/users/mantunes/followers","following_url":"https://api.github.com/users/mantunes/following{/other_user}","gists_url":"https://api.github.com/users/mantunes/gists{/gist_id}","starred_url":"https://api.github.com/users/mantunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantunes/subscriptions","organizations_url":"https://api.github.com/users/mantunes/orgs","repos_url":"https://api.github.com/users/mantunes/repos","events_url":"https://api.github.com/users/mantunes/events{/privacy}","received_events_url":"https://api.github.com/users/mantunes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mantunes/plae","description":"plae","fork":false,"url":"https://api.github.com/repos/mantunes/plae","forks_url":"https://api.github.com/repos/mantunes/plae/forks","keys_url":"https://api.github.com/repos/mantunes/plae/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mantunes/plae/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mantunes/plae/teams","hooks_url":"https://api.github.com/repos/mantunes/plae/hooks","issue_events_url":"https://api.github.com/repos/mantunes/plae/issues/events{/number}","events_url":"https://api.github.com/repos/mantunes/plae/events","assignees_url":"https://api.github.com/repos/mantunes/plae/assignees{/user}","branches_url":"https://api.github.com/repos/mantunes/plae/branches{/branch}","tags_url":"https://api.github.com/repos/mantunes/plae/tags","blobs_url":"https://api.github.com/repos/mantunes/plae/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mantunes/plae/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mantunes/plae/git/refs{/sha}","trees_url":"https://api.github.com/repos/mantunes/plae/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mantunes/plae/statuses/{sha}","languages_url":"https://api.github.com/repos/mantunes/plae/languages","stargazers_url":"https://api.github.com/repos/mantunes/plae/stargazers","contributors_url":"https://api.github.com/repos/mantunes/plae/contributors","subscribers_url":"https://api.github.com/repos/mantunes/plae/subscribers","subscription_url":"https://api.github.com/repos/mantunes/plae/subscription","commits_url":"https://api.github.com/repos/mantunes/plae/commits{/sha}","git_commits_url":"https://api.github.com/repos/mantunes/plae/git/commits{/sha}","comments_url":"https://api.github.com/repos/mantunes/plae/comments{/number}","issue_comment_url":"https://api.github.com/repos/mantunes/plae/issues/comments{/number}","contents_url":"https://api.github.com/repos/mantunes/plae/contents/{+path}","compare_url":"https://api.github.com/repos/mantunes/plae/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mantunes/plae/merges","archive_url":"https://api.github.com/repos/mantunes/plae/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mantunes/plae/downloads","issues_url":"https://api.github.com/repos/mantunes/plae/issues{/number}","pulls_url":"https://api.github.com/repos/mantunes/plae/pulls{/number}","milestones_url":"https://api.github.com/repos/mantunes/plae/milestones{/number}","notifications_url":"https://api.github.com/repos/mantunes/plae/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mantunes/plae/labels{/name}","releases_url":"https://api.github.com/repos/mantunes/plae/releases{/id}","created_at":"2015-10-05T16:33:36Z","updated_at":"2015-10-07T10:54:58Z","pushed_at":"2015-10-19T10:14:46Z","git_url":"git://github.com/mantunes/plae.git","ssh_url":"git@github.com:mantunes/plae.git","clone_url":"https://github.com/mantunes/plae.git","svn_url":"https://github.com/mantunes/plae","homepage":null,"size":168,"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":"mantunes:master","ref":"master","sha":"9e4e060cb4ce415ed48607cf304b2804c8d481af","user":{"login":"mantunes","id":527492,"avatar_url":"https://avatars.githubusercontent.com/u/527492?v=3","gravatar_id":"","url":"https://api.github.com/users/mantunes","html_url":"https://github.com/mantunes","followers_url":"https://api.github.com/users/mantunes/followers","following_url":"https://api.github.com/users/mantunes/following{/other_user}","gists_url":"https://api.github.com/users/mantunes/gists{/gist_id}","starred_url":"https://api.github.com/users/mantunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantunes/subscriptions","organizations_url":"https://api.github.com/users/mantunes/orgs","repos_url":"https://api.github.com/users/mantunes/repos","events_url":"https://api.github.com/users/mantunes/events{/privacy}","received_events_url":"https://api.github.com/users/mantunes/received_events","type":"User","site_admin":false},"repo":{"id":43698446,"name":"plae","full_name":"mantunes/plae","owner":{"login":"mantunes","id":527492,"avatar_url":"https://avatars.githubusercontent.com/u/527492?v=3","gravatar_id":"","url":"https://api.github.com/users/mantunes","html_url":"https://github.com/mantunes","followers_url":"https://api.github.com/users/mantunes/followers","following_url":"https://api.github.com/users/mantunes/following{/other_user}","gists_url":"https://api.github.com/users/mantunes/gists{/gist_id}","starred_url":"https://api.github.com/users/mantunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantunes/subscriptions","organizations_url":"https://api.github.com/users/mantunes/orgs","repos_url":"https://api.github.com/users/mantunes/repos","events_url":"https://api.github.com/users/mantunes/events{/privacy}","received_events_url":"https://api.github.com/users/mantunes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mantunes/plae","description":"plae","fork":false,"url":"https://api.github.com/repos/mantunes/plae","forks_url":"https://api.github.com/repos/mantunes/plae/forks","keys_url":"https://api.github.com/repos/mantunes/plae/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mantunes/plae/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mantunes/plae/teams","hooks_url":"https://api.github.com/repos/mantunes/plae/hooks","issue_events_url":"https://api.github.com/repos/mantunes/plae/issues/events{/number}","events_url":"https://api.github.com/repos/mantunes/plae/events","assignees_url":"https://api.github.com/repos/mantunes/plae/assignees{/user}","branches_url":"https://api.github.com/repos/mantunes/plae/branches{/branch}","tags_url":"https://api.github.com/repos/mantunes/plae/tags","blobs_url":"https://api.github.com/repos/mantunes/plae/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mantunes/plae/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mantunes/plae/git/refs{/sha}","trees_url":"https://api.github.com/repos/mantunes/plae/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mantunes/plae/statuses/{sha}","languages_url":"https://api.github.com/repos/mantunes/plae/languages","stargazers_url":"https://api.github.com/repos/mantunes/plae/stargazers","contributors_url":"https://api.github.com/repos/mantunes/plae/contributors","subscribers_url":"https://api.github.com/repos/mantunes/plae/subscribers","subscription_url":"https://api.github.com/repos/mantunes/plae/subscription","commits_url":"https://api.github.com/repos/mantunes/plae/commits{/sha}","git_commits_url":"https://api.github.com/repos/mantunes/plae/git/commits{/sha}","comments_url":"https://api.github.com/repos/mantunes/plae/comments{/number}","issue_comment_url":"https://api.github.com/repos/mantunes/plae/issues/comments{/number}","contents_url":"https://api.github.com/repos/mantunes/plae/contents/{+path}","compare_url":"https://api.github.com/repos/mantunes/plae/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mantunes/plae/merges","archive_url":"https://api.github.com/repos/mantunes/plae/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mantunes/plae/downloads","issues_url":"https://api.github.com/repos/mantunes/plae/issues{/number}","pulls_url":"https://api.github.com/repos/mantunes/plae/pulls{/number}","milestones_url":"https://api.github.com/repos/mantunes/plae/milestones{/number}","notifications_url":"https://api.github.com/repos/mantunes/plae/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mantunes/plae/labels{/name}","releases_url":"https://api.github.com/repos/mantunes/plae/releases{/id}","created_at":"2015-10-05T16:33:36Z","updated_at":"2015-10-07T10:54:58Z","pushed_at":"2015-10-19T10:14:46Z","git_url":"git://github.com/mantunes/plae.git","ssh_url":"git@github.com:mantunes/plae.git","clone_url":"https://github.com/mantunes/plae.git","svn_url":"https://github.com/mantunes/plae","homepage":null,"size":168,"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/mantunes/plae/pulls/3"},"html":{"href":"https://github.com/mantunes/plae/pull/3"},"issue":{"href":"https://api.github.com/repos/mantunes/plae/issues/3"},"comments":{"href":"https://api.github.com/repos/mantunes/plae/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mantunes/plae/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mantunes/plae/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mantunes/plae/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mantunes/plae/statuses/c423b6c3105dd5e2fac6c7ee8970046db376488c"}}}}