{"action":"created","comment":{"url":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/22397518","id":22397518,"diff_hunk":"@@ -57,9 +57,13 @@\n });\n \n App::missing(function ($exception) {\n-    return Response::view('errors.404', [\n-        'pageTitle' => 'That page went missing!'\n-    ], 404);\n+    if (Request::is('dashboard*') or Request::is('api*')) {\n+        return Response::view('errors.404', [\n+            'pageTitle' => 'That page went missing!'","path":"app/start/global.php","position":null,"original_position":9,"commit_id":"9501ffd1bacfaa6da5fd347a3efd6342e767acf1","original_commit_id":"338700a7fb6e12231d15ae65d655f3c8aba2bc95","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"Nah, just merge it. Trailing commas are really trivial.","created_at":"2015-01-01T01:39:24Z","updated_at":"2015-01-01T01:39:24Z","html_url":"https://github.com/cachethq/Cachet/pull/174#discussion_r22397518","pull_request_url":"https://api.github.com/repos/cachethq/Cachet/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/22397518"},"html":{"href":"https://github.com/cachethq/Cachet/pull/174#discussion_r22397518"},"pull_request":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/cachethq/Cachet/pulls/174","id":26739516,"html_url":"https://github.com/cachethq/Cachet/pull/174","diff_url":"https://github.com/cachethq/Cachet/pull/174.diff","patch_url":"https://github.com/cachethq/Cachet/pull/174.patch","issue_url":"https://api.github.com/repos/cachethq/Cachet/issues/174","number":174,"state":"open","locked":false,"title":"Update 404 to show only on dashboard and api","user":{"login":"joecohens","id":1803556,"avatar_url":"https://avatars.githubusercontent.com/u/1803556?v=3","gravatar_id":"","url":"https://api.github.com/users/joecohens","html_url":"https://github.com/joecohens","followers_url":"https://api.github.com/users/joecohens/followers","following_url":"https://api.github.com/users/joecohens/following{/other_user}","gists_url":"https://api.github.com/users/joecohens/gists{/gist_id}","starred_url":"https://api.github.com/users/joecohens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joecohens/subscriptions","organizations_url":"https://api.github.com/users/joecohens/orgs","repos_url":"https://api.github.com/users/joecohens/repos","events_url":"https://api.github.com/users/joecohens/events{/privacy}","received_events_url":"https://api.github.com/users/joecohens/received_events","type":"User","site_admin":false},"body":"I think if is the users status page just redirect them to the status page, if it's a 404 on the dashboard then we show the 404 page. \r\n\r\n![screen shot 2014-12-31 at 7 13 06 pm](https://cloud.githubusercontent.com/assets/1803556/5591442/199d56dc-9121-11e4-9398-4d8215b026c0.png)\r\n","created_at":"2015-01-01T01:13:34Z","updated_at":"2015-01-01T01:39:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fde51a8456eaa40c3a25a049f9d8db6b4b0e2af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cachethq/Cachet/pulls/174/commits","review_comments_url":"https://api.github.com/repos/cachethq/Cachet/pulls/174/comments","review_comment_url":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cachethq/Cachet/issues/174/comments","statuses_url":"https://api.github.com/repos/cachethq/Cachet/statuses/9501ffd1bacfaa6da5fd347a3efd6342e767acf1","head":{"label":"JoeForks:feature/404-design","ref":"feature/404-design","sha":"9501ffd1bacfaa6da5fd347a3efd6342e767acf1","user":{"login":"JoeForks","id":10344258,"avatar_url":"https://avatars.githubusercontent.com/u/10344258?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeForks","html_url":"https://github.com/JoeForks","followers_url":"https://api.github.com/users/JoeForks/followers","following_url":"https://api.github.com/users/JoeForks/following{/other_user}","gists_url":"https://api.github.com/users/JoeForks/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeForks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeForks/subscriptions","organizations_url":"https://api.github.com/users/JoeForks/orgs","repos_url":"https://api.github.com/users/JoeForks/repos","events_url":"https://api.github.com/users/JoeForks/events{/privacy}","received_events_url":"https://api.github.com/users/JoeForks/received_events","type":"Organization","site_admin":false},"repo":{"id":28643777,"name":"Cachet","full_name":"JoeForks/Cachet","owner":{"login":"JoeForks","id":10344258,"avatar_url":"https://avatars.githubusercontent.com/u/10344258?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeForks","html_url":"https://github.com/JoeForks","followers_url":"https://api.github.com/users/JoeForks/followers","following_url":"https://api.github.com/users/JoeForks/following{/other_user}","gists_url":"https://api.github.com/users/JoeForks/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeForks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeForks/subscriptions","organizations_url":"https://api.github.com/users/JoeForks/orgs","repos_url":"https://api.github.com/users/JoeForks/repos","events_url":"https://api.github.com/users/JoeForks/events{/privacy}","received_events_url":"https://api.github.com/users/JoeForks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JoeForks/Cachet","description":"Cachet, the open source StatusPage.io alternative written in PHP","fork":true,"url":"https://api.github.com/repos/JoeForks/Cachet","forks_url":"https://api.github.com/repos/JoeForks/Cachet/forks","keys_url":"https://api.github.com/repos/JoeForks/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoeForks/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoeForks/Cachet/teams","hooks_url":"https://api.github.com/repos/JoeForks/Cachet/hooks","issue_events_url":"https://api.github.com/repos/JoeForks/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/JoeForks/Cachet/events","assignees_url":"https://api.github.com/repos/JoeForks/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/JoeForks/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/JoeForks/Cachet/tags","blobs_url":"https://api.github.com/repos/JoeForks/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoeForks/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoeForks/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoeForks/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoeForks/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/JoeForks/Cachet/languages","stargazers_url":"https://api.github.com/repos/JoeForks/Cachet/stargazers","contributors_url":"https://api.github.com/repos/JoeForks/Cachet/contributors","subscribers_url":"https://api.github.com/repos/JoeForks/Cachet/subscribers","subscription_url":"https://api.github.com/repos/JoeForks/Cachet/subscription","commits_url":"https://api.github.com/repos/JoeForks/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoeForks/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoeForks/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoeForks/Cachet/issues/comments/{number}","contents_url":"https://api.github.com/repos/JoeForks/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/JoeForks/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoeForks/Cachet/merges","archive_url":"https://api.github.com/repos/JoeForks/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoeForks/Cachet/downloads","issues_url":"https://api.github.com/repos/JoeForks/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/JoeForks/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/JoeForks/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/JoeForks/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoeForks/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/JoeForks/Cachet/releases{/id}","created_at":"2014-12-30T20:09:33Z","updated_at":"2015-01-01T00:09:14Z","pushed_at":"2015-01-01T01:36:55Z","git_url":"git://github.com/JoeForks/Cachet.git","ssh_url":"git@github.com:JoeForks/Cachet.git","clone_url":"https://github.com/JoeForks/Cachet.git","svn_url":"https://github.com/JoeForks/Cachet","homepage":"http://cachethq.github.io","size":2902,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"cachethq:master","ref":"master","sha":"d30d4bc6b0a2ea8836c5a4c70beb381b132e7c80","user":{"login":"cachethq","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/cachethq","html_url":"https://github.com/cachethq","followers_url":"https://api.github.com/users/cachethq/followers","following_url":"https://api.github.com/users/cachethq/following{/other_user}","gists_url":"https://api.github.com/users/cachethq/gists{/gist_id}","starred_url":"https://api.github.com/users/cachethq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachethq/subscriptions","organizations_url":"https://api.github.com/users/cachethq/orgs","repos_url":"https://api.github.com/users/cachethq/repos","events_url":"https://api.github.com/users/cachethq/events{/privacy}","received_events_url":"https://api.github.com/users/cachethq/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"cachethq/Cachet","owner":{"login":"cachethq","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/cachethq","html_url":"https://github.com/cachethq","followers_url":"https://api.github.com/users/cachethq/followers","following_url":"https://api.github.com/users/cachethq/following{/other_user}","gists_url":"https://api.github.com/users/cachethq/gists{/gist_id}","starred_url":"https://api.github.com/users/cachethq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachethq/subscriptions","organizations_url":"https://api.github.com/users/cachethq/orgs","repos_url":"https://api.github.com/users/cachethq/repos","events_url":"https://api.github.com/users/cachethq/events{/privacy}","received_events_url":"https://api.github.com/users/cachethq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cachethq/Cachet","description":"Cachet, the open source StatusPage.io alternative written in PHP","fork":false,"url":"https://api.github.com/repos/cachethq/Cachet","forks_url":"https://api.github.com/repos/cachethq/Cachet/forks","keys_url":"https://api.github.com/repos/cachethq/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cachethq/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cachethq/Cachet/teams","hooks_url":"https://api.github.com/repos/cachethq/Cachet/hooks","issue_events_url":"https://api.github.com/repos/cachethq/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/cachethq/Cachet/events","assignees_url":"https://api.github.com/repos/cachethq/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/cachethq/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/cachethq/Cachet/tags","blobs_url":"https://api.github.com/repos/cachethq/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cachethq/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cachethq/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/cachethq/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cachethq/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/cachethq/Cachet/languages","stargazers_url":"https://api.github.com/repos/cachethq/Cachet/stargazers","contributors_url":"https://api.github.com/repos/cachethq/Cachet/contributors","subscribers_url":"https://api.github.com/repos/cachethq/Cachet/subscribers","subscription_url":"https://api.github.com/repos/cachethq/Cachet/subscription","commits_url":"https://api.github.com/repos/cachethq/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/cachethq/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/cachethq/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/cachethq/Cachet/issues/comments/{number}","contents_url":"https://api.github.com/repos/cachethq/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/cachethq/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cachethq/Cachet/merges","archive_url":"https://api.github.com/repos/cachethq/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cachethq/Cachet/downloads","issues_url":"https://api.github.com/repos/cachethq/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/cachethq/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/cachethq/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/cachethq/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cachethq/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/cachethq/Cachet/releases{/id}","created_at":"2014-11-16T22:23:11Z","updated_at":"2015-01-01T01:25:54Z","pushed_at":"2015-01-01T01:25:53Z","git_url":"git://github.com/cachethq/Cachet.git","ssh_url":"git@github.com:cachethq/Cachet.git","clone_url":"https://github.com/cachethq/Cachet.git","svn_url":"https://github.com/cachethq/Cachet","homepage":"http://cachethq.io","size":6046,"stargazers_count":426,"watchers_count":426,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":30,"forks":36,"open_issues":30,"watchers":426,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/174"},"html":{"href":"https://github.com/cachethq/Cachet/pull/174"},"issue":{"href":"https://api.github.com/repos/cachethq/Cachet/issues/174"},"comments":{"href":"https://api.github.com/repos/cachethq/Cachet/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/cachethq/Cachet/statuses/9501ffd1bacfaa6da5fd347a3efd6342e767acf1"}}}}