forked from kol/BlogMatch
新增管理者、接案者及發案者的相關路由設定
This commit is contained in:
parent
8dae64f982
commit
0ef01aa8cf
@ -11,6 +11,28 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/', function () {
|
//首頁url
|
||||||
return view('welcome');
|
Route::get('/', 'HomeController@index');
|
||||||
|
|
||||||
|
//管理者相關url
|
||||||
|
Route::group(['prefix' => 'admin'], function () {
|
||||||
|
Route::get('/login', '');
|
||||||
|
Route::post('/login', '');
|
||||||
|
Route::get('/dashbord', '');
|
||||||
|
});
|
||||||
|
|
||||||
|
//接案者相關url
|
||||||
|
Route::group(['prefix' => 'receiver'], function () {
|
||||||
|
Route::get('/login', '');
|
||||||
|
Route::post('/login', '');
|
||||||
|
Route::get('/register', '');
|
||||||
|
Route::post('/register', '');
|
||||||
|
});
|
||||||
|
|
||||||
|
//發案者相關url
|
||||||
|
Route::group(['prefix' => 'casebuilder'], function () {
|
||||||
|
Route::get('/login', '');
|
||||||
|
Route::post('/login', '');
|
||||||
|
Route::get('/register', '');
|
||||||
|
Route::post('/register', '');
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user