Add order by on service account index
This commit is contained in:
parent
fecc96fa66
commit
c5e9e4e378
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class ServiceAccountsController extends Controller
|
|||
*/
|
||||
public function index()
|
||||
{
|
||||
$service_accounts = ServiceAccount::all();
|
||||
$service_accounts = ServiceAccount::all()->sortBy('name');
|
||||
return view('service-accounts.index', compact('service_accounts'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue