mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Updated groups index route name
This commit is contained in:
parent
f1a83bd007
commit
18e2db24bd
|
@ -368,7 +368,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li {!! (Request::is('groups*') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ url('admin/groups') }}">
|
||||
<a href="{{ route('groups.index') }}">
|
||||
<i class="fa fa-group fa-fw"></i> @lang('general.groups')
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -157,7 +157,7 @@ Route::group([ 'prefix' => 'admin','middleware' => ['web','auth']], function ()
|
|||
# Group Management
|
||||
Route::group([ 'prefix' => 'groups', 'middleware' => ['web','auth','authorize:superadmin'] ], function () {
|
||||
|
||||
Route::get('/', [ 'as' => 'groups', 'uses' => 'GroupsController@getIndex' ]);
|
||||
Route::get('/', [ 'as' => 'groups.index', 'uses' => 'GroupsController@getIndex' ]);
|
||||
Route::get('create', [ 'as' => 'groups.create', 'uses' => 'GroupsController@getCreate']);
|
||||
Route::post('create', [ 'as' => 'groups.store', 'uses' => 'GroupsController@postCreate' ]);
|
||||
Route::get('{groupId}/edit', [ 'as' => 'groups.edit', 'uses' => 'GroupsController@getEdit' ]);
|
||||
|
|
Loading…
Reference in a new issue