2020-06-08 08:04:45 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2020-06-08 13:08:46 +00:00
|
|
|
//Route::get('/', function () {
|
|
|
|
// return view('welcome');
|
|
|
|
//});
|
|
|
|
|
2020-06-10 06:25:21 +00:00
|
|
|
Route::middleware(["auth"])->group(function () {
|
|
|
|
|
|
|
|
});
|
|
|
|
|
2020-06-08 13:08:46 +00:00
|
|
|
Route::get("/", "RootController@index")->name("root.index");
|
2020-06-10 10:30:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
Route::get("/login", "UserController@login")->name("user.login");
|
|
|
|
Route::get("/logout", "UserController@logout")->name("user.logout");
|