new table form html, css
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
// auth related routes, using the web middleware
|
||||
|
||||
use SocialNorm\Exceptions\ApplicationRejectedException;
|
||||
use SocialNorm\Exceptions\InvalidAuthorizationCodeException;
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?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');
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
// Routes using the web+auth middlewares
|
||||
|
||||
Route::get('/home', 'HomeController@index')->name('home');
|
||||
|
||||
// Table resource
|
||||
Route::group([
|
||||
'prefix' => 'table',
|
||||
], function () {
|
||||
Route::get('create', 'TableController@create')->name('table.create');
|
||||
Route::post('create', 'TableController@storeNew')->name('table.storeNew');
|
||||
});
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
<?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');
|
||||
Reference in New Issue
Block a user