1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 02:44:31 +00:00

Новости(исправил ошибку с выводом)

This commit is contained in:
ashen-1-dev
2020-12-16 20:39:54 +07:00
parent 459fd1c37d
commit 37bc147ba4

View File

@@ -17,7 +17,7 @@ class SubjectController extends Controller
*/ */
public function index() public function index()
{ {
return response()->json(Subject::all()->sortBy('name'), 200); return response()->json(Subject::all(), 200);
} }
/** /**