@@ -15,7 +15,7 @@ |
||
| 15 | 15 | return view('welcome'); |
| 16 | 16 | }); |
| 17 | 17 | Route::get('auth/login', function(){ |
| 18 | - return 'No tens acces a la API'; |
|
| 18 | + return 'No tens acces a la API'; |
|
| 19 | 19 | }); |
| 20 | 20 | |
| 21 | 21 | Route::get('task/{id}/tag', 'TagController@index'); |
@@ -11,10 +11,10 @@ discard block |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -Route::get('/', function () { |
|
| 14 | +Route::get('/', function() { |
|
| 15 | 15 | return view('welcome'); |
| 16 | 16 | }); |
| 17 | -Route::get('auth/login', function(){ |
|
| 17 | +Route::get('auth/login', function() { |
|
| 18 | 18 | return 'No tens acces a la API'; |
| 19 | 19 | }); |
| 20 | 20 | |
@@ -22,6 +22,6 @@ discard block |
||
| 22 | 22 | Route::resource('task', 'TaskController'); |
| 23 | 23 | Route::resource('tag', 'TagController'); |
| 24 | 24 | |
| 25 | -Route::group(['prefix' => 'api', 'middleware' => 'throttle:5,10'], function () { |
|
| 25 | +Route::group(['prefix' => 'api', 'middleware' => 'throttle:5,10'], function() { |
|
| 26 | 26 | |
| 27 | 27 | }); |
| 28 | 28 | \ No newline at end of file |