{"action":"created","comment":{"url":"https://api.github.com/repos/davin-bao/laravel51/pulls/comments/72218228","id":72218228,"diff_hunk":"@@ -48,6 +48,13 @@ public function getIndex(){\n         return $this->render('staff.index');\n     }\n \n+    public function getProfile(){\n+        Breadcrumbs::register('admin-staff-profile', function ($breadcrumbs) {\n+            $breadcrumbs->parent('admin-staff');\n+            $breadcrumbs->push('个人信息', adminAction('StaffController@getProfile'));\n+        });\n+        return $this->render('staff.profile');","path":"app/Modules/Admin/Controllers/StaffController.php","position":9,"original_position":9,"commit_id":"813cb1f5c39016e0952b3d1ad1147657cf7cd39e","original_commit_id":"813cb1f5c39016e0952b3d1ad1147657cf7cd39e","user":{"login":"davin-bao","id":5162830,"avatar_url":"https://avatars.githubusercontent.com/u/5162830?v=3","gravatar_id":"","url":"https://api.github.com/users/davin-bao","html_url":"https://github.com/davin-bao","followers_url":"https://api.github.com/users/davin-bao/followers","following_url":"https://api.github.com/users/davin-bao/following{/other_user}","gists_url":"https://api.github.com/users/davin-bao/gists{/gist_id}","starred_url":"https://api.github.com/users/davin-bao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davin-bao/subscriptions","organizations_url":"https://api.github.com/users/davin-bao/orgs","repos_url":"https://api.github.com/users/davin-bao/repos","events_url":"https://api.github.com/users/davin-bao/events{/privacy}","received_events_url":"https://api.github.com/users/davin-bao/received_events","type":"User","site_admin":false},"body":"$this->render('staff.profile', ['staff'=> Auth::staff()->get());","created_at":"2016-07-26T09:43:49Z","updated_at":"2016-07-26T09:43:49Z","html_url":"https://github.com/davin-bao/laravel51/pull/11#discussion_r72218228","pull_request_url":"https://api.github.com/repos/davin-bao/laravel51/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/davin-bao/laravel51/pulls/comments/72218228"},"html":{"href":"https://github.com/davin-bao/laravel51/pull/11#discussion_r72218228"},"pull_request":{"href":"https://api.github.com/repos/davin-bao/laravel51/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/davin-bao/laravel51/pulls/11","id":78820455,"html_url":"https://github.com/davin-bao/laravel51/pull/11","diff_url":"https://github.com/davin-bao/laravel51/pull/11.diff","patch_url":"https://github.com/davin-bao/laravel51/pull/11.patch","issue_url":"https://api.github.com/repos/davin-bao/laravel51/issues/11","number":11,"state":"open","locked":false,"title":"Create profile page","user":{"login":"huangcunqing","id":20274115,"avatar_url":"https://avatars.githubusercontent.com/u/20274115?v=3","gravatar_id":"","url":"https://api.github.com/users/huangcunqing","html_url":"https://github.com/huangcunqing","followers_url":"https://api.github.com/users/huangcunqing/followers","following_url":"https://api.github.com/users/huangcunqing/following{/other_user}","gists_url":"https://api.github.com/users/huangcunqing/gists{/gist_id}","starred_url":"https://api.github.com/users/huangcunqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangcunqing/subscriptions","organizations_url":"https://api.github.com/users/huangcunqing/orgs","repos_url":"https://api.github.com/users/huangcunqing/repos","events_url":"https://api.github.com/users/huangcunqing/events{/privacy}","received_events_url":"https://api.github.com/users/huangcunqing/received_events","type":"User","site_admin":false},"body":"Create profile page","created_at":"2016-07-26T09:39:51Z","updated_at":"2016-07-26T09:43:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d65116f20466814e76ab4722de94198bf0398b48","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/davin-bao/laravel51/pulls/11/commits","review_comments_url":"https://api.github.com/repos/davin-bao/laravel51/pulls/11/comments","review_comment_url":"https://api.github.com/repos/davin-bao/laravel51/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davin-bao/laravel51/issues/11/comments","statuses_url":"https://api.github.com/repos/davin-bao/laravel51/statuses/813cb1f5c39016e0952b3d1ad1147657cf7cd39e","head":{"label":"huangcunqing:create-profile-page","ref":"create-profile-page","sha":"813cb1f5c39016e0952b3d1ad1147657cf7cd39e","user":{"login":"huangcunqing","id":20274115,"avatar_url":"https://avatars.githubusercontent.com/u/20274115?v=3","gravatar_id":"","url":"https://api.github.com/users/huangcunqing","html_url":"https://github.com/huangcunqing","followers_url":"https://api.github.com/users/huangcunqing/followers","following_url":"https://api.github.com/users/huangcunqing/following{/other_user}","gists_url":"https://api.github.com/users/huangcunqing/gists{/gist_id}","starred_url":"https://api.github.com/users/huangcunqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangcunqing/subscriptions","organizations_url":"https://api.github.com/users/huangcunqing/orgs","repos_url":"https://api.github.com/users/huangcunqing/repos","events_url":"https://api.github.com/users/huangcunqing/events{/privacy}","received_events_url":"https://api.github.com/users/huangcunqing/received_events","type":"User","site_admin":false},"repo":{"id":64114442,"name":"laravel51","full_name":"huangcunqing/laravel51","owner":{"login":"huangcunqing","id":20274115,"avatar_url":"https://avatars.githubusercontent.com/u/20274115?v=3","gravatar_id":"","url":"https://api.github.com/users/huangcunqing","html_url":"https://github.com/huangcunqing","followers_url":"https://api.github.com/users/huangcunqing/followers","following_url":"https://api.github.com/users/huangcunqing/following{/other_user}","gists_url":"https://api.github.com/users/huangcunqing/gists{/gist_id}","starred_url":"https://api.github.com/users/huangcunqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangcunqing/subscriptions","organizations_url":"https://api.github.com/users/huangcunqing/orgs","repos_url":"https://api.github.com/users/huangcunqing/repos","events_url":"https://api.github.com/users/huangcunqing/events{/privacy}","received_events_url":"https://api.github.com/users/huangcunqing/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huangcunqing/laravel51","description":"laravel 5.1 LTS demo","fork":true,"url":"https://api.github.com/repos/huangcunqing/laravel51","forks_url":"https://api.github.com/repos/huangcunqing/laravel51/forks","keys_url":"https://api.github.com/repos/huangcunqing/laravel51/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huangcunqing/laravel51/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huangcunqing/laravel51/teams","hooks_url":"https://api.github.com/repos/huangcunqing/laravel51/hooks","issue_events_url":"https://api.github.com/repos/huangcunqing/laravel51/issues/events{/number}","events_url":"https://api.github.com/repos/huangcunqing/laravel51/events","assignees_url":"https://api.github.com/repos/huangcunqing/laravel51/assignees{/user}","branches_url":"https://api.github.com/repos/huangcunqing/laravel51/branches{/branch}","tags_url":"https://api.github.com/repos/huangcunqing/laravel51/tags","blobs_url":"https://api.github.com/repos/huangcunqing/laravel51/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huangcunqing/laravel51/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huangcunqing/laravel51/git/refs{/sha}","trees_url":"https://api.github.com/repos/huangcunqing/laravel51/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huangcunqing/laravel51/statuses/{sha}","languages_url":"https://api.github.com/repos/huangcunqing/laravel51/languages","stargazers_url":"https://api.github.com/repos/huangcunqing/laravel51/stargazers","contributors_url":"https://api.github.com/repos/huangcunqing/laravel51/contributors","subscribers_url":"https://api.github.com/repos/huangcunqing/laravel51/subscribers","subscription_url":"https://api.github.com/repos/huangcunqing/laravel51/subscription","commits_url":"https://api.github.com/repos/huangcunqing/laravel51/commits{/sha}","git_commits_url":"https://api.github.com/repos/huangcunqing/laravel51/git/commits{/sha}","comments_url":"https://api.github.com/repos/huangcunqing/laravel51/comments{/number}","issue_comment_url":"https://api.github.com/repos/huangcunqing/laravel51/issues/comments{/number}","contents_url":"https://api.github.com/repos/huangcunqing/laravel51/contents/{+path}","compare_url":"https://api.github.com/repos/huangcunqing/laravel51/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huangcunqing/laravel51/merges","archive_url":"https://api.github.com/repos/huangcunqing/laravel51/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huangcunqing/laravel51/downloads","issues_url":"https://api.github.com/repos/huangcunqing/laravel51/issues{/number}","pulls_url":"https://api.github.com/repos/huangcunqing/laravel51/pulls{/number}","milestones_url":"https://api.github.com/repos/huangcunqing/laravel51/milestones{/number}","notifications_url":"https://api.github.com/repos/huangcunqing/laravel51/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huangcunqing/laravel51/labels{/name}","releases_url":"https://api.github.com/repos/huangcunqing/laravel51/releases{/id}","deployments_url":"https://api.github.com/repos/huangcunqing/laravel51/deployments","created_at":"2016-07-25T07:47:55Z","updated_at":"2016-07-25T07:47:56Z","pushed_at":"2016-07-26T09:38:40Z","git_url":"git://github.com/huangcunqing/laravel51.git","ssh_url":"git@github.com:huangcunqing/laravel51.git","clone_url":"https://github.com/huangcunqing/laravel51.git","svn_url":"https://github.com/huangcunqing/laravel51","homepage":null,"size":1723,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"davin-bao:master","ref":"master","sha":"8983d3f438621cf76267eb0cdd8f2c445b4e141a","user":{"login":"davin-bao","id":5162830,"avatar_url":"https://avatars.githubusercontent.com/u/5162830?v=3","gravatar_id":"","url":"https://api.github.com/users/davin-bao","html_url":"https://github.com/davin-bao","followers_url":"https://api.github.com/users/davin-bao/followers","following_url":"https://api.github.com/users/davin-bao/following{/other_user}","gists_url":"https://api.github.com/users/davin-bao/gists{/gist_id}","starred_url":"https://api.github.com/users/davin-bao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davin-bao/subscriptions","organizations_url":"https://api.github.com/users/davin-bao/orgs","repos_url":"https://api.github.com/users/davin-bao/repos","events_url":"https://api.github.com/users/davin-bao/events{/privacy}","received_events_url":"https://api.github.com/users/davin-bao/received_events","type":"User","site_admin":false},"repo":{"id":63291613,"name":"laravel51","full_name":"davin-bao/laravel51","owner":{"login":"davin-bao","id":5162830,"avatar_url":"https://avatars.githubusercontent.com/u/5162830?v=3","gravatar_id":"","url":"https://api.github.com/users/davin-bao","html_url":"https://github.com/davin-bao","followers_url":"https://api.github.com/users/davin-bao/followers","following_url":"https://api.github.com/users/davin-bao/following{/other_user}","gists_url":"https://api.github.com/users/davin-bao/gists{/gist_id}","starred_url":"https://api.github.com/users/davin-bao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davin-bao/subscriptions","organizations_url":"https://api.github.com/users/davin-bao/orgs","repos_url":"https://api.github.com/users/davin-bao/repos","events_url":"https://api.github.com/users/davin-bao/events{/privacy}","received_events_url":"https://api.github.com/users/davin-bao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davin-bao/laravel51","description":"laravel 5.1 LTS demo","fork":false,"url":"https://api.github.com/repos/davin-bao/laravel51","forks_url":"https://api.github.com/repos/davin-bao/laravel51/forks","keys_url":"https://api.github.com/repos/davin-bao/laravel51/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davin-bao/laravel51/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davin-bao/laravel51/teams","hooks_url":"https://api.github.com/repos/davin-bao/laravel51/hooks","issue_events_url":"https://api.github.com/repos/davin-bao/laravel51/issues/events{/number}","events_url":"https://api.github.com/repos/davin-bao/laravel51/events","assignees_url":"https://api.github.com/repos/davin-bao/laravel51/assignees{/user}","branches_url":"https://api.github.com/repos/davin-bao/laravel51/branches{/branch}","tags_url":"https://api.github.com/repos/davin-bao/laravel51/tags","blobs_url":"https://api.github.com/repos/davin-bao/laravel51/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davin-bao/laravel51/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davin-bao/laravel51/git/refs{/sha}","trees_url":"https://api.github.com/repos/davin-bao/laravel51/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davin-bao/laravel51/statuses/{sha}","languages_url":"https://api.github.com/repos/davin-bao/laravel51/languages","stargazers_url":"https://api.github.com/repos/davin-bao/laravel51/stargazers","contributors_url":"https://api.github.com/repos/davin-bao/laravel51/contributors","subscribers_url":"https://api.github.com/repos/davin-bao/laravel51/subscribers","subscription_url":"https://api.github.com/repos/davin-bao/laravel51/subscription","commits_url":"https://api.github.com/repos/davin-bao/laravel51/commits{/sha}","git_commits_url":"https://api.github.com/repos/davin-bao/laravel51/git/commits{/sha}","comments_url":"https://api.github.com/repos/davin-bao/laravel51/comments{/number}","issue_comment_url":"https://api.github.com/repos/davin-bao/laravel51/issues/comments{/number}","contents_url":"https://api.github.com/repos/davin-bao/laravel51/contents/{+path}","compare_url":"https://api.github.com/repos/davin-bao/laravel51/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davin-bao/laravel51/merges","archive_url":"https://api.github.com/repos/davin-bao/laravel51/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davin-bao/laravel51/downloads","issues_url":"https://api.github.com/repos/davin-bao/laravel51/issues{/number}","pulls_url":"https://api.github.com/repos/davin-bao/laravel51/pulls{/number}","milestones_url":"https://api.github.com/repos/davin-bao/laravel51/milestones{/number}","notifications_url":"https://api.github.com/repos/davin-bao/laravel51/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davin-bao/laravel51/labels{/name}","releases_url":"https://api.github.com/repos/davin-bao/laravel51/releases{/id}","deployments_url":"https://api.github.com/repos/davin-bao/laravel51/deployments","created_at":"2016-07-14T01:29:42Z","updated_at":"2016-07-14T09:50:44Z","pushed_at":"2016-07-26T09:39:51Z","git_url":"git://github.com/davin-bao/laravel51.git","ssh_url":"git@github.com:davin-bao/laravel51.git","clone_url":"https://github.com/davin-bao/laravel51.git","svn_url":"https://github.com/davin-bao/laravel51","homepage":null,"size":6792,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davin-bao/laravel51/pulls/11"},"html":{"href":"https://github.com/davin-bao/laravel51/pull/11"},"issue":{"href":"https://api.github.com/repos/davin-bao/laravel51/issues/11"},"comments":{"href":"https://api.github.com/repos/davin-bao/laravel51/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/davin-bao/laravel51/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/davin-bao/laravel51/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davin-bao/laravel51/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/davin-bao/laravel51/statuses/813cb1f5c39016e0952b3d1ad1147657cf7cd39e"}}}}
{"actor":{"display_login":"davin-bao"}}