mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Update web.php
This commit is contained in:
parent
41b5b1dfd0
commit
c11e93b72f
|
@ -22,6 +22,16 @@ Route::group(['middleware' => 'auth'], function () {
|
|||
Route::resource('locations', 'LocationsController', [
|
||||
'parameters' => ['location' => 'location_id']
|
||||
]);
|
||||
|
||||
Route::get(
|
||||
'{locationId}/printonlyassignedtolocation',
|
||||
[ 'as' => 'locations.printonlyassignedtolocation', 'uses' => 'LocationsController@printOnlyAssignedToLocation' ]
|
||||
);
|
||||
|
||||
Route::get(
|
||||
'{locationId}/printallassignedtolocation',
|
||||
[ 'as' => 'locations.printallassignedtolocation', 'uses' => 'LocationsController@printAllAssignedToLocation' ]
|
||||
);
|
||||
|
||||
/*
|
||||
* Manufacturers
|
||||
|
|
Loading…
Reference in a new issue