@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function map(Router $router) |
| 39 | 39 | { |
| 40 | - $router->group(['namespace' => $this->namespace], function ($router) { |
|
| 40 | + $router->group(['namespace' => $this->namespace], function($router) { |
|
| 41 | 41 | require app_path('Http/routes.php'); |
| 42 | 42 | }); |
| 43 | 43 | } |
@@ -3,9 +3,7 @@ |
||
| 3 | 3 | namespace App\Http\Controllers; |
| 4 | 4 | |
| 5 | 5 | use Dingo\Api\Http; |
| 6 | -use Dingo\Api\Routing\Router; |
|
| 7 | 6 | use Dingo\Api\Routing\Helpers; |
| 8 | -use App\Http\Requests; |
|
| 9 | 7 | use Illuminate\Http\Request; |
| 10 | 8 | |
| 11 | 9 | class DeviceController extends Controller |