mirror of
https://github.com/snipe/snipe-it.git
synced 2026-03-30 04:14:17 +00:00
Fixed route parameters and tests to match
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -111,7 +111,9 @@ class ComponentsController extends Controller
|
||||
{
|
||||
|
||||
$this->authorize('update', $component);
|
||||
return view('components/edit')->with('category_type', 'component');
|
||||
return view('components/edit')
|
||||
->with('item', $component)
|
||||
->with('category_type', 'component');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user