mirror of
https://github.com/10h30/Test-Laravel-Validation.git
synced 2026-06-05 15:07:56 +09:00
25 lines
900 B
PHP
25 lines
900 B
PHP
<?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!
|
|
|
|
|
*/
|
|
|
|
Route::post('posts', [\App\Http\Controllers\PostController::class, 'store']);
|
|
Route::post('profile', [\App\Http\Controllers\ProfileController::class, 'update'])->middleware('auth');
|
|
Route::resource('projects', \App\Http\Controllers\ProjectController::class);
|
|
Route::resource('products', \App\Http\Controllers\ProductController::class);
|
|
Route::resource('teams', \App\Http\Controllers\TeamController::class);
|
|
|
|
Route::get('/', function () {
|
|
return view('welcome');
|
|
});
|