added description to routes

This commit is contained in:
denisdulici
2020-01-30 15:19:33 +03:00
parent 849c48a6f2
commit 0b4451ebeb
7 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,7 @@
<?php
// 'portal' middleware applied via App\Providers\Route
Route::group(['as' => 'portal.'], function () {
Route::get('invoices/{invoice}/print', 'Portal\Invoices@printInvoice')->name('invoices.print');
Route::get('invoices/{invoice}/pdf', 'Portal\Invoices@pdfInvoice')->name('invoices.pdf');