@@ -26,8 +26,8 @@ |
||
26 | 26 | public function scopeOrderedList($query) |
27 | 27 | { |
28 | 28 | return $query->orderBy('year', 'asc') |
29 | - ->orderBy('semester', 'asc') |
|
30 | - ->orderBy('name', 'asc'); |
|
29 | + ->orderBy('semester', 'asc') |
|
30 | + ->orderBy('name', 'asc'); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -42,7 +42,7 @@ |
||
42 | 42 | public function __construct() |
43 | 43 | { |
44 | 44 | $this->middleware('guest') |
45 | - ->except(['confirm', 'resendConfirmationEmail']); |
|
45 | + ->except(['confirm', 'resendConfirmationEmail']); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -25,8 +25,8 @@ |
||
25 | 25 | // Get the list of students enrolled on each course |
26 | 26 | $enrollments = DB::transaction(function () { |
27 | 27 | $enrollments = Enrollment::with(['student', 'course']) |
28 | - ->get() |
|
29 | - ->sortByDesc('courses.name'); |
|
28 | + ->get() |
|
29 | + ->sortByDesc('courses.name'); |
|
30 | 30 | |
31 | 31 | return $enrollments; |
32 | 32 | }); |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | protected function mapWebRoutes() |
53 | 53 | { |
54 | 54 | Route::middleware('web') |
55 | - ->namespace($this->namespace) |
|
56 | - ->group(base_path('routes/web.php')); |
|
55 | + ->namespace($this->namespace) |
|
56 | + ->group(base_path('routes/web.php')); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | protected function mapApiRoutes() |
67 | 67 | { |
68 | 68 | Route::prefix('api') |
69 | - ->middleware('api') |
|
70 | - ->namespace($this->namespace) |
|
71 | - ->group(base_path('routes/api.php')); |
|
69 | + ->middleware('api') |
|
70 | + ->namespace($this->namespace) |
|
71 | + ->group(base_path('routes/api.php')); |
|
72 | 72 | } |
73 | 73 | } |