wah.moe/routes/web.php

28 lines
1 KiB
PHP
Raw Normal View History

2023-06-13 20:59:16 +00:00
<?php
use App\Http\Controllers\BookmarksController;
use App\Http\Controllers\GuestbookController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\MusicController;
2024-10-06 03:11:08 +00:00
use App\Http\Controllers\PrivacyController;
2023-06-13 20:59:16 +00:00
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 and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
2024-06-19 14:15:35 +00:00
Route::get('/', [HomeController::class, 'show']);
Route::get('/bookmarks', [BookmarksController::class, 'show']);
Route::get('/guestbook', [GuestbookController::class, 'show']);
Route::get('/music', [MusicController::class, 'show']);
2024-10-06 03:11:08 +00:00
Route::get('/privacy', [PrivacyController::class, 'show']);
Route::post('/guestbook', [GuestbookController::class, 'addEntry'])
->middleware('rate_limit');