datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
822 B
34 lines
822 B
<?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');
|
|
|