Passed
Push — master ( 1c6317...ea0da1 )
by refat
06:16 queued 02:27
created
routes/index.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -22,23 +22,23 @@
 block discarded – undo
22 22
 // ====== Admins ====== //
23 23
 
24 24
 $adminOptions = [
25
-  'prefix' => '/admin',
26
-  'controller' => 'Admin',
27
-  'middleware' => ['admin']
25
+    'prefix' => '/admin',
26
+    'controller' => 'Admin',
27
+    'middleware' => ['admin']
28 28
 ];
29 29
 
30 30
 $app->route->group($adminOptions, function ($route) {
31 31
 
32
-  $route->add('/', 'Home');
32
+    $route->add('/', 'Home');
33 33
 
34
-  //Login
35
-  $route->add('/login', 'Login');
36
-  $route->add('/submit', 'Login@submit', 'POST');
37
-  $route->add('/logout', 'Logout');
34
+    //Login
35
+    $route->add('/login', 'Login');
36
+    $route->add('/submit', 'Login@submit', 'POST');
37
+    $route->add('/logout', 'Logout');
38 38
 
39
-  //Profile
40
-  $route->add('/profile', 'Profile', 'GET');
39
+    //Profile
40
+    $route->add('/profile', 'Profile', 'GET');
41 41
 
42
-  //Settings
43
-  $route->add('/settings', 'Settings');
42
+    //Settings
43
+    $route->add('/settings', 'Settings');
44 44
 });
45 45
\ No newline at end of file
Please login to merge, or discard this patch.