Wedding Invitation
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

web.php 1.0KB

123456789101112131415161718192021222324
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. use App\Http\Controllers\MainController;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Web Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | Here is where you can register web routes for your application. These
  10. | routes are loaded by the RouteServiceProvider and all of them will
  11. | be assigned to the "web" middleware group. Make something great!
  12. |
  13. */
  14. Route::get('/', [MainController::class, 'main']);
  15. Route::post('/saveRsvp', [MainController::class, 'saveRsvp'])->name('rsvp.save');
  16. Route::post('/saveSpeech', [MainController::class, 'saveSpeech'])->name('speech.save');
  17. Route::get('/guestbook', [MainController::class, 'fetchGuestbook'])->name('guestbook.ajax');
  18. Route::get('/admin/attendance', [MainController::class, 'attendance']);
  19. Route::get('/download-vip-csv', [MainController::class, 'downloadVipCsv'])->name('download.vip.csv');
  20. Route::get('/download-vip-csv', [MainController::class, 'downloadGeneralCsv'])->name('download.general.csv');