31 lines
761 B
PHP
31 lines
761 B
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
*/
|
|
|
|
/**
|
|
* Authenticate routes
|
|
*/
|
|
Auth::routes(['verify' => true]);
|
|
|
|
/**
|
|
* Static page routes
|
|
*/
|
|
Route::view('/', 'home')->name('index');
|
|
|
|
/**
|
|
* Admin routes
|
|
*/
|
|
Route::group(['prefix' => config('admin.route'), 'middleware' => ['admin.area'], 'as' => config('admin.route_name_prefix')], function() {
|
|
Route::get('/', 'AdminPageController@index')->name('index');
|
|
});
|
|
|