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.
22 lines
445 B
22 lines
445 B
<?php
|
|
// Routes using the web middleware
|
|
|
|
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');
|
|
});
|
|
|
|
// Table resource
|
|
Route::get('{user}/{table}', 'TableController@view')->name('table.view');
|
|
|