Completed
Push — master ( 4a87b5...10e6d5 )
by claudio
03:51
created
app/Http/routes.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -18,58 +18,58 @@
 block discarded – undo
18 18
 /**
19 19
  * Companies
20 20
  */
21
-Route::group(['namespace' => 'Companies', 'prefix' => 'companies'], function() {
21
+Route::group([ 'namespace' => 'Companies', 'prefix' => 'companies' ], function() {
22 22
 
23 23
     //\Auth
24 24
 
25
-    Route::group(['namespace' => 'Auth'], function() {
26
-        Route::group(['prefix' => 'auth'], function () {
25
+    Route::group([ 'namespace' => 'Auth' ], function() {
26
+        Route::group([ 'prefix' => 'auth' ], function() {
27 27
             // Authentication routes...
28
-            Route::post('login', ['as' => 'companies.auth.login','uses'=>'AuthController@postLogin']);
28
+            Route::post('login', [ 'as' => 'companies.auth.login', 'uses'=>'AuthController@postLogin' ]);
29 29
 
30 30
             // Registration routes...
31
-            Route::post('register', ['as' => 'companies.auth.register', 'uses'=>'AuthController@postRegister']);
31
+            Route::post('register', [ 'as' => 'companies.auth.register', 'uses'=>'AuthController@postRegister' ]);
32 32
 
33 33
         });
34 34
 
35
-        Route::group(['prefix' => 'password'], function () {
35
+        Route::group([ 'prefix' => 'password' ], function() {
36 36
             // Password reset link request routes...
37
-            Route::post('email', ['as' => 'companies.auth.email', 'uses'=>'PasswordController@postEmail']);
37
+            Route::post('email', [ 'as' => 'companies.auth.email', 'uses'=>'PasswordController@postEmail' ]);
38 38
 
39 39
             // Password reset routes...
40
-            Route::post('reset', ['as' => 'companies.auth.reset', 'uses'=>'PasswordController@postReset']);
40
+            Route::post('reset', [ 'as' => 'companies.auth.reset', 'uses'=>'PasswordController@postReset' ]);
41 41
         });
42 42
     });
43 43
 
44 44
     Route::resource('employees', 'EmployeesController');
45 45
 
46 46
     //example
47
-    Route::resource('example', 'ExampleController', ['except' => ['create', 'edit']]);
47
+    Route::resource('example', 'ExampleController', [ 'except' => [ 'create', 'edit' ] ]);
48 48
 });
49 49
 
50 50
 
51 51
 /**
52 52
  * Employees
53 53
  */
54
-Route::group(['namespace' => 'Employees', 'prefix' => 'employees'], function() {
54
+Route::group([ 'namespace' => 'Employees', 'prefix' => 'employees' ], function() {
55 55
     //\Auth
56 56
 
57
-    Route::group(['namespace' => 'Auth'], function() {
58
-        Route::group(['prefix' => 'auth'], function () {
57
+    Route::group([ 'namespace' => 'Auth' ], function() {
58
+        Route::group([ 'prefix' => 'auth' ], function() {
59 59
             // Authentication routes...
60
-            Route::post('login', ['as' => 'companies.auth.login', 'uses'=>'AuthController@postLogin']);
60
+            Route::post('login', [ 'as' => 'companies.auth.login', 'uses'=>'AuthController@postLogin' ]);
61 61
 
62 62
             // Registration routes...
63 63
             //Route::post('register', ['as' => 'companies.auth.register', 'uses'=>'AuthController@postRegister']); //the registration is managed by the company
64 64
 
65 65
         });
66 66
 
67
-        Route::group(['prefix' => 'password'], function () {
67
+        Route::group([ 'prefix' => 'password' ], function() {
68 68
             // Password reset link request routes...
69
-            Route::post('email', ['as' => 'companies.auth.email', 'uses'=>'PasswordController@postEmail']);
69
+            Route::post('email', [ 'as' => 'companies.auth.email', 'uses'=>'PasswordController@postEmail' ]);
70 70
 
71 71
             // Password reset routes...
72
-            Route::post('reset', ['as' => 'companies.auth.reset', 'uses'=>'PasswordController@postReset']);
72
+            Route::post('reset', [ 'as' => 'companies.auth.reset', 'uses'=>'PasswordController@postReset' ]);
73 73
         });
74 74
     });
75 75
 
Please login to merge, or discard this patch.