20 lines
668 B
PHP
20 lines
668 B
PHP
|
<?php
|
||
|
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
use Illuminate\Support\Facades\Auth;
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| 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!
|
||
|
|
|
||
|
*/
|
||
|
|
||
|
Auth::routes();
|
||
|
Route::get('/logout', 'Auth\LoginController@logout');
|
||
|
Route::get('/{component?}', 'HomeController@index')->name('home');
|
||
|
Route::get('/{group}/{component}/{id?}', 'HomeController@show');
|