Skip to content

Commit

Permalink
Merge pull request #144 from ooxkf/patch-1
Browse files Browse the repository at this point in the history
Update web.php remove old ReservationController
  • Loading branch information
afonic authored Jan 30, 2025
2 parents 5c1a327 + 16c4322 commit a84db65
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
Route::namespace('\Reach\StatamicResrv\Http\Controllers')
->name('resrv.')
->group(function () {
// Payments
Route::post('/resrv/checkout/completed', 'ReservationController@checkoutCompleted')->name('reservation.checkoutCompleted')->withoutMiddleware([VerifyCsrfToken::class]);
Route::post('/resrv/checkout/failed', 'ReservationController@checkoutFailed')->name('reservation.checkoutFailed')->withoutMiddleware([VerifyCsrfToken::class]);

// Webhook
Route::get('/resrv/api/webhook', 'WebhookController@index')->name('webhook.index')->withoutMiddleware([VerifyCsrfToken::class]);
Route::post('/resrv/api/webhook', 'WebhookController@store')->name('webhook.store')->withoutMiddleware([VerifyCsrfToken::class]);
Expand Down

0 comments on commit a84db65

Please sign in to comment.