@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * Store a newly created resource in storage. |
| 47 | 47 | * |
| 48 | 48 | * @param \Illuminate\Http\Request $request |
| 49 | - * @return \Illuminate\Http\Response |
|
| 49 | + * @return \Illuminate\Http\RedirectResponse |
|
| 50 | 50 | */ |
| 51 | 51 | public function store(Request $request) |
| 52 | 52 | { |
@@ -3,11 +3,8 @@ |
||
| 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 | -use JWTAuth; |
|
| 11 | 8 | |
| 12 | 9 | class HomeController extends Controller |
| 13 | 10 | { |
@@ -3,11 +3,8 @@ |
||
| 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 | -use JWTAuth; |
|
| 11 | 8 | |
| 12 | 9 | class HomeController extends Controller |
| 13 | 10 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\User; |
| 6 | 6 | use App\Device; |
| 7 | -use App\Port; |
|
| 8 | 7 | use Illuminate\Http\Request; |
| 9 | 8 | |
| 10 | 9 | class DeviceController extends Controller |
@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace App\Api\Controllers; |
| 4 | 4 | |
| 5 | 5 | use DB; |
| 6 | -use App\User; |
|
| 7 | 6 | use App\Device; |
| 8 | 7 | use App\Port; |
| 9 | -use Illuminate\Http\Request; |
|
| 10 | 8 | |
| 11 | 9 | class ApiController extends Controller |
| 12 | 10 | { |