mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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', [
|
Route::resource('locations', 'LocationsController', [
|
||||||
'parameters' => ['location' => 'location_id']
|
'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
|
* Manufacturers
|
||||||
|
|
Loading…
Reference in a new issue