Skip to content

Commit 28e00c6

Browse files
authored
stream invoice
1 parent d00ac56 commit 28e00c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Common/routes/web.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
Route::post('invoices/bulk-action', 'InvoicesController@bulkAction');
3232
Route::resource('invoices', 'InvoicesController');
3333
Route::get('invoices/{invoice}/download', 'InvoicesController@download');
34+
Route::get('invoices/{invoice}/stream', 'InvoicesController@stream')
35+
->name('streamInvoice')
36+
->middleware('signed');
37+
3438
Route::post('invoices/{invoice}/send-invoice', 'InvoicesController@sendInvoice');
3539
Route::post('webhooks/{gateway?}', 'WebhooksController');
3640
Route::post('currencies/bulk-action', 'CurrenciesController@bulkAction');

0 commit comments

Comments
 (0)