|
|
|
<?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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
require "login.php";
|
|
|
|
|
|
|
|
Route::get('/about/terms', function () {
|
|
|
|
return view('about.terms');
|
|
|
|
});
|
|
|
|
|
|
|
|
Route::get('/about/privacy', function () {
|
|
|
|
return view('about.privacy');
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
|
|
|
if (!Auth::guest()) {
|
|
|
|
return redirect('/home');
|
|
|
|
}
|
|
|
|
return view('welcome');
|
|
|
|
});
|
|
|
|
|
|
|
|
Route::get('/home', 'HomeController@index')->name('home');
|
|
|
|
|
|
|
|
Route::get('/table/create', 'TableController@create')->name('table.create');
|