<?php
 Route::group( [ 'prefix' => env('ADMIN_PATH', '/admin/'), 'middleware' => ['admin.bootstrap', 'admin.auth'], 'namespace' => '\App\Admin\Controller', ], function () { Route::match(['get', 'post'], '', 'IndexController@index'); Route::match(['get', 'post'], 'config/blog', 'ConfigController@blog'); Route::match(['get', 'post'], 'config/contact', 'ConfigController@contact'); Route::match(['get', 'post'], 'message', 'MessageController@index'); Route::match(['get', 'post'], 'message/add', 'MessageController@add'); Route::match(['get', 'post'], 'message/edit', 'MessageController@edit'); Route::match(['get', 'post'], 'message/delete', 'MessageController@delete'); Route::match(['get', 'post'], 'message/show', 'MessageController@show'); Route::match(['get', 'post'], 'blog', 'BlogController@index'); Route::match(['get', 'post'], 'blog/add', 'BlogController@add'); Route::match(['get', 'post'], 'blog/edit', 'BlogController@edit'); Route::match(['get', 'post'], 'blog/delete', 'BlogController@delete'); Route::match(['get', 'post'], 'blog/show', 'BlogController@show'); Route::match(['get', 'post'], 'blog_comment', 'BlogCommentController@index'); Route::match(['get', 'post'], 'blog_comment/add', 'BlogCommentController@add'); Route::match(['get', 'post'], 'blog_comment/edit', 'BlogCommentController@edit'); Route::match(['get', 'post'], 'blog_comment/delete', 'BlogCommentController@delete'); Route::match(['get', 'post'], 'blog_comment/show', 'BlogCommentController@show'); }); 