Skip to content

A free open source IT asset/license management system

Update web.php

ajsyc11e93b72fa8
diff --git a/routes/web.php b/routes/web.php
index aa96314757..f52d7d03f7 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -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