1
0
mirror of https://github.com/robonen/education-project.git synced 2026-06-20 01:55:17 +00:00

Журнал(fixed some issues)

This commit is contained in:
ashen-1-dev
2020-12-16 20:38:32 +07:00
parent be8af67c61
commit 622170c647
4 changed files with 30 additions and 9 deletions
+1 -1
View File
@@ -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);
}
/**