mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Update api.php
Typo at line 391 GroupsCOntroller to GroupsController. Was causing an error with the groups view not reflecting the actual groups seen from the database.
This commit is contained in:
parent
a65fb63b6b
commit
70eeafd2a3
|
@ -389,7 +389,7 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () {
|
|||
* Groups API routes
|
||||
*/
|
||||
Route::resource('groups',
|
||||
Api\GroupsCOntroller::class,
|
||||
Api\GroupsController::class,
|
||||
['names' =>
|
||||
[
|
||||
'index' => 'api.groups.index',
|
||||
|
@ -1096,4 +1096,4 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () {
|
|||
}); // end fallback routes
|
||||
|
||||
|
||||
}); // end API routes
|
||||
}); // end API routes
|
||||
|
|
Loading…
Reference in a new issue