{"action":"created","comment":{"url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/comments/170865670","pull_request_review_id":99615984,"id":170865670,"diff_hunk":"@@ -42,29 +47,74 @@\n Route::group(['middleware' => ['web']], function () {\n     //\n     ////\n-    \n-    \n+\n+\n     ///\n-    \n+\n });\n \n Route::group(['middleware' => 'web'], function () {\n     Route::auth();\n });\n \n+Route::group(['prefix'=>'admin', 'middleware'=>'auth'], function()\n+{\n \n+    //admin\n+    Route::get('/', function () {\n+       //\n+    });\n \n-//Route::auth();\n-// admin/edit/post\n-Route::group(['prefix'=>'admin','middleware'=>['web','auth']],function() {\n-\t// admin/\n-\tRoute::get('/',['uses'=>'Admin\\AdminController@show','as'=>'admin_index']);\n-\t\n-\tRoute::get('/add/post',['uses'=>'Admin\\AdminPostController@show','as'=>'admin_add_post']);\n-\tRoute::post('/add/post',['uses'=>'Admin\\AdminPostController@create','as'=>'admin_add_post_p']);\n-\t\n-\tRoute::get('/update/post/{id}',['uses'=>'Admin\\AdminUpdatePostController@show','as'=>'admin_add_post']);\n-\tRoute::post('/update/post',['uses'=>'Admin\\AdminUpdatePostController@create','as'=>'admin_update_post_p']);\n-});\n+    //admin/about\n+    Route::group(['prefix'=>'about'], function(){\n+\n+        //admin/about\n+        Route::get('/', ['uses'=>'AboutController@execute', 'us'=>'about']);\n+\n+        //admin/about/add\n+        Route::match(['get', 'post'], '/add', ['uses'=>'AboutAddController@execute', 'us'=>'about_add']);\n+\n+        //admin/edit/5\n+        Route::match(['get', 'post', 'delete'], 'edit/{about}', ['uses'=>'AboutEditController@execute', 'us'=>'about_edit']);\n+    });\n+\n+    //admin/projects\n+    Route::group(['prefix'=>'projects'], function(){\n+\n+        //admin/projects\n+        Route::get('/', ['uses'=>'ProjectsController@execute', 'us'=>'project']);\n+\n+        //admin/projects/add\n+        Route::match(['get', 'post'], '/add', ['uses'=>'ProjectsAddController@execute', 'us'=>'projects_add']);\n+\n+        //admin/edit/5\n+        Route::match(['get', 'post', 'delete'], 'edit/{project}', ['uses'=>'ProjectsEditController@execute', 'us'=>'projects_edit']);\n+    });\n+\n+    //admin/social_url\n+    Route::group(['prefix'=>'social_url'], function(){\n+\n+        //admin/social_url\n+        Route::get('/', ['uses'=>'SocialUrlController@execute', 'us'=>'social_url']);\n+\n+        //admin/social_url/add\n+        Route::math(['get', 'post'], '/add', ['uses'=>'SocialUrlAddController@execute', 'us'=>'social_url_add']);\n+\n+        //admin/edit/5\n+        Route::math(['get', 'post', 'delete'], 'edit/{social_url}', ['uses'=>'SocialUrlEditController@execute', 'us'=>'social_url_edit']);","path":"app/Http/routes.php","position":85,"original_position":85,"commit_id":"7b4006a06cd38acf4a57a554640e67815d2cdecf","original_commit_id":"7b4006a06cd38acf4a57a554640e67815d2cdecf","user":{"login":"odykyi","id":24225497,"avatar_url":"https://avatars1.githubusercontent.com/u/24225497?v=4","gravatar_id":"","url":"https://api.github.com/users/odykyi","html_url":"https://github.com/odykyi","followers_url":"https://api.github.com/users/odykyi/followers","following_url":"https://api.github.com/users/odykyi/following{/other_user}","gists_url":"https://api.github.com/users/odykyi/gists{/gist_id}","starred_url":"https://api.github.com/users/odykyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odykyi/subscriptions","organizations_url":"https://api.github.com/users/odykyi/orgs","repos_url":"https://api.github.com/users/odykyi/repos","events_url":"https://api.github.com/users/odykyi/events{/privacy}","received_events_url":"https://api.github.com/users/odykyi/received_events","type":"User","site_admin":false},"body":"what is 'us' ??\r\n\r\n","created_at":"2018-02-27T09:48:24Z","updated_at":"2018-02-27T09:53:19Z","html_url":"https://github.com/mihalskiy/e-commerceBlagoustriy/pull/23#discussion_r170865670","pull_request_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/comments/170865670"},"html":{"href":"https://github.com/mihalskiy/e-commerceBlagoustriy/pull/23#discussion_r170865670"},"pull_request":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23"}},"in_reply_to_id":170864999},"pull_request":{"url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23","id":171588706,"html_url":"https://github.com/mihalskiy/e-commerceBlagoustriy/pull/23","diff_url":"https://github.com/mihalskiy/e-commerceBlagoustriy/pull/23.diff","patch_url":"https://github.com/mihalskiy/e-commerceBlagoustriy/pull/23.patch","issue_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/23","number":23,"state":"open","locked":false,"title":"setting layouts page and refactor controllers","user":{"login":"mihalskiy","id":29286972,"avatar_url":"https://avatars3.githubusercontent.com/u/29286972?v=4","gravatar_id":"","url":"https://api.github.com/users/mihalskiy","html_url":"https://github.com/mihalskiy","followers_url":"https://api.github.com/users/mihalskiy/followers","following_url":"https://api.github.com/users/mihalskiy/following{/other_user}","gists_url":"https://api.github.com/users/mihalskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mihalskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihalskiy/subscriptions","organizations_url":"https://api.github.com/users/mihalskiy/orgs","repos_url":"https://api.github.com/users/mihalskiy/repos","events_url":"https://api.github.com/users/mihalskiy/events{/privacy}","received_events_url":"https://api.github.com/users/mihalskiy/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-27T08:04:19Z","updated_at":"2018-02-27T09:53:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"odykyi","id":24225497,"avatar_url":"https://avatars1.githubusercontent.com/u/24225497?v=4","gravatar_id":"","url":"https://api.github.com/users/odykyi","html_url":"https://github.com/odykyi","followers_url":"https://api.github.com/users/odykyi/followers","following_url":"https://api.github.com/users/odykyi/following{/other_user}","gists_url":"https://api.github.com/users/odykyi/gists{/gist_id}","starred_url":"https://api.github.com/users/odykyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odykyi/subscriptions","organizations_url":"https://api.github.com/users/odykyi/orgs","repos_url":"https://api.github.com/users/odykyi/repos","events_url":"https://api.github.com/users/odykyi/events{/privacy}","received_events_url":"https://api.github.com/users/odykyi/received_events","type":"User","site_admin":false},"assignees":[{"login":"odykyi","id":24225497,"avatar_url":"https://avatars1.githubusercontent.com/u/24225497?v=4","gravatar_id":"","url":"https://api.github.com/users/odykyi","html_url":"https://github.com/odykyi","followers_url":"https://api.github.com/users/odykyi/followers","following_url":"https://api.github.com/users/odykyi/following{/other_user}","gists_url":"https://api.github.com/users/odykyi/gists{/gist_id}","starred_url":"https://api.github.com/users/odykyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odykyi/subscriptions","organizations_url":"https://api.github.com/users/odykyi/orgs","repos_url":"https://api.github.com/users/odykyi/repos","events_url":"https://api.github.com/users/odykyi/events{/privacy}","received_events_url":"https://api.github.com/users/odykyi/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23/commits","review_comments_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23/comments","review_comment_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/23/comments","statuses_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/statuses/7b4006a06cd38acf4a57a554640e67815d2cdecf","head":{"label":"mihalskiy:View","ref":"View","sha":"7b4006a06cd38acf4a57a554640e67815d2cdecf","user":{"login":"mihalskiy","id":29286972,"avatar_url":"https://avatars3.githubusercontent.com/u/29286972?v=4","gravatar_id":"","url":"https://api.github.com/users/mihalskiy","html_url":"https://github.com/mihalskiy","followers_url":"https://api.github.com/users/mihalskiy/followers","following_url":"https://api.github.com/users/mihalskiy/following{/other_user}","gists_url":"https://api.github.com/users/mihalskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mihalskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihalskiy/subscriptions","organizations_url":"https://api.github.com/users/mihalskiy/orgs","repos_url":"https://api.github.com/users/mihalskiy/repos","events_url":"https://api.github.com/users/mihalskiy/events{/privacy}","received_events_url":"https://api.github.com/users/mihalskiy/received_events","type":"User","site_admin":false},"repo":{"id":121133984,"name":"e-commerceBlagoustriy","full_name":"mihalskiy/e-commerceBlagoustriy","owner":{"login":"mihalskiy","id":29286972,"avatar_url":"https://avatars3.githubusercontent.com/u/29286972?v=4","gravatar_id":"","url":"https://api.github.com/users/mihalskiy","html_url":"https://github.com/mihalskiy","followers_url":"https://api.github.com/users/mihalskiy/followers","following_url":"https://api.github.com/users/mihalskiy/following{/other_user}","gists_url":"https://api.github.com/users/mihalskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mihalskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihalskiy/subscriptions","organizations_url":"https://api.github.com/users/mihalskiy/orgs","repos_url":"https://api.github.com/users/mihalskiy/repos","events_url":"https://api.github.com/users/mihalskiy/events{/privacy}","received_events_url":"https://api.github.com/users/mihalskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mihalskiy/e-commerceBlagoustriy","description":"laravel, php 5.6","fork":false,"url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy","forks_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/forks","keys_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/teams","hooks_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/hooks","issue_events_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/events{/number}","events_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/events","assignees_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/assignees{/user}","branches_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/branches{/branch}","tags_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/tags","blobs_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/statuses/{sha}","languages_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/languages","stargazers_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/stargazers","contributors_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/contributors","subscribers_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/subscribers","subscription_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/subscription","commits_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/contents/{+path}","compare_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/merges","archive_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/downloads","issues_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues{/number}","pulls_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls{/number}","milestones_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/milestones{/number}","notifications_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/labels{/name}","releases_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/releases{/id}","deployments_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/deployments","created_at":"2018-02-11T14:54:10Z","updated_at":"2018-02-26T16:58:20Z","pushed_at":"2018-02-27T08:04:19Z","git_url":"git://github.com/mihalskiy/e-commerceBlagoustriy.git","ssh_url":"git@github.com:mihalskiy/e-commerceBlagoustriy.git","clone_url":"https://github.com/mihalskiy/e-commerceBlagoustriy.git","svn_url":"https://github.com/mihalskiy/e-commerceBlagoustriy","homepage":null,"size":14010,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mihalskiy:master","ref":"master","sha":"68b3ad0b583c98d24a41f4a5f1193f9331d7ff05","user":{"login":"mihalskiy","id":29286972,"avatar_url":"https://avatars3.githubusercontent.com/u/29286972?v=4","gravatar_id":"","url":"https://api.github.com/users/mihalskiy","html_url":"https://github.com/mihalskiy","followers_url":"https://api.github.com/users/mihalskiy/followers","following_url":"https://api.github.com/users/mihalskiy/following{/other_user}","gists_url":"https://api.github.com/users/mihalskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mihalskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihalskiy/subscriptions","organizations_url":"https://api.github.com/users/mihalskiy/orgs","repos_url":"https://api.github.com/users/mihalskiy/repos","events_url":"https://api.github.com/users/mihalskiy/events{/privacy}","received_events_url":"https://api.github.com/users/mihalskiy/received_events","type":"User","site_admin":false},"repo":{"id":121133984,"name":"e-commerceBlagoustriy","full_name":"mihalskiy/e-commerceBlagoustriy","owner":{"login":"mihalskiy","id":29286972,"avatar_url":"https://avatars3.githubusercontent.com/u/29286972?v=4","gravatar_id":"","url":"https://api.github.com/users/mihalskiy","html_url":"https://github.com/mihalskiy","followers_url":"https://api.github.com/users/mihalskiy/followers","following_url":"https://api.github.com/users/mihalskiy/following{/other_user}","gists_url":"https://api.github.com/users/mihalskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mihalskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihalskiy/subscriptions","organizations_url":"https://api.github.com/users/mihalskiy/orgs","repos_url":"https://api.github.com/users/mihalskiy/repos","events_url":"https://api.github.com/users/mihalskiy/events{/privacy}","received_events_url":"https://api.github.com/users/mihalskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mihalskiy/e-commerceBlagoustriy","description":"laravel, php 5.6","fork":false,"url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy","forks_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/forks","keys_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/teams","hooks_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/hooks","issue_events_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/events{/number}","events_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/events","assignees_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/assignees{/user}","branches_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/branches{/branch}","tags_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/tags","blobs_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/statuses/{sha}","languages_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/languages","stargazers_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/stargazers","contributors_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/contributors","subscribers_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/subscribers","subscription_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/subscription","commits_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/contents/{+path}","compare_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/merges","archive_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/downloads","issues_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues{/number}","pulls_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls{/number}","milestones_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/milestones{/number}","notifications_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/labels{/name}","releases_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/releases{/id}","deployments_url":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/deployments","created_at":"2018-02-11T14:54:10Z","updated_at":"2018-02-26T16:58:20Z","pushed_at":"2018-02-27T08:04:19Z","git_url":"git://github.com/mihalskiy/e-commerceBlagoustriy.git","ssh_url":"git@github.com:mihalskiy/e-commerceBlagoustriy.git","clone_url":"https://github.com/mihalskiy/e-commerceBlagoustriy.git","svn_url":"https://github.com/mihalskiy/e-commerceBlagoustriy","homepage":null,"size":14010,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23"},"html":{"href":"https://github.com/mihalskiy/e-commerceBlagoustriy/pull/23"},"issue":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/23"},"comments":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/mihalskiy/e-commerceBlagoustriy/statuses/7b4006a06cd38acf4a57a554640e67815d2cdecf"}},"author_association":"OWNER"}}
{"actor":{"display_login":"odykyi"}}