mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 10:54:31 +00:00
Журнал(fixed some issues)
This commit is contained in:
@@ -17,7 +17,7 @@ class SubjectController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return response()->json(Subject::all()->sortBy('name'), 200);
|
||||
return response()->json(Subject::all(), 200);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user