Fixed incorrect route for components

This commit is contained in:
snipe 2017-03-11 12:13:35 -08:00
parent e475ccc1d4
commit 00aa06882c

View file

@ -220,7 +220,7 @@ class ComponentsController extends Controller
// Prepare the error message
$error = trans('admin/components/message.does_not_exist', compact('id'));
// Redirect to the user management page
return redirect()->route('components')->with('error', $error);
return redirect()->route('components.index')->with('error', $error);
}
/**