close #700 Fixed: Signed url not working
This commit is contained in:
@ -12,7 +12,7 @@ Route::group([
|
||||
});
|
||||
|
||||
Route::group([
|
||||
'middleware' => ['web', 'auth', 'language', 'customermenu', 'permission:read-customer-panel'],
|
||||
'middleware' => 'customer',
|
||||
'prefix' => 'customers',
|
||||
'namespace' => 'Modules\OfflinePayment\Http\Controllers'
|
||||
], function () {
|
||||
@ -21,12 +21,10 @@ Route::group([
|
||||
});
|
||||
|
||||
Route::group([
|
||||
'middleware' => ['web', 'language'],
|
||||
'prefix' => 'links',
|
||||
'middleware' => ['signed', 'language'],
|
||||
'prefix' => 'signed',
|
||||
'namespace' => 'Modules\OfflinePayment\Http\Controllers'
|
||||
], function () {
|
||||
Route::group(['middleware' => 'signed-url'], function () {
|
||||
Route::post('invoices/{invoice}/offlinepayment', 'OfflinePayment@link');
|
||||
Route::post('invoices/{invoice}/offlinepayment/confirm', 'OfflinePayment@confirm');
|
||||
});
|
||||
Route::post('invoices/{invoice}/offlinepayment', 'OfflinePayment@link');
|
||||
Route::post('invoices/{invoice}/offlinepayment/confirm', 'OfflinePayment@confirm');
|
||||
});
|
||||
|
Reference in New Issue
Block a user