Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
15 lines
418 B
PHP
15 lines
418 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/**
|
|
* 'signed' middleware and 'signed/offline-payments' prefix applied to all routes (including names)
|
|
*
|
|
* @see \App\Providers\Route::register
|
|
*/
|
|
|
|
Route::signed('offline-payments', function () {
|
|
Route::get('invoices/{invoice}', 'Payment@show')->name('invoices.show');
|
|
Route::post('invoices/{invoice}/confirm', 'Payment@confirm')->name('invoices.confirm');
|
|
});
|