@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Afrittella\BackProject\Http\Controllers; |
| 4 | 4 | |
| 5 | -use Afrittella\BackProject\Exceptions\NotFoundException; |
|
| 6 | 5 | use Afrittella\BackProject\Http\Requests\AttachmentAdd; |
| 7 | 6 | use Afrittella\BackProject\Repositories\Attachments; |
| 8 | 7 | use Afrittella\BackProject\Repositories\Criteria\Attachments\ByUser; |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | //@TODO implement google or s3 cloud storage support |
| 16 | 16 | //if (config('filesystems.default') == 'google') { |
| 17 | - // $this->media_path = Storage::disk()->getDriver()->getAdapter()->getStorageApiUri() . '/' . Storage::disk()->getDriver()->getAdapter()->getBucket()->name(); |
|
| 17 | + // $this->media_path = Storage::disk()->getDriver()->getAdapter()->getStorageApiUri() . '/' . Storage::disk()->getDriver()->getAdapter()->getBucket()->name(); |
|
| 18 | 18 | //} else { |
| 19 | 19 | //$this->media_path = Storage::disk()->getDriver()->getAdapter()->getPathPrefix(); |
| 20 | 20 | //} |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use Afrittella\BackProject\Services\BackProject; |
| 11 | 11 | use Afrittella\BackProject\Services\SlugGenerator; |
| 12 | 12 | use Illuminate\Support\ServiceProvider; |
| 13 | -use Illuminate\Routing\Router; |
|
| 14 | 13 | use function Symfony\Component\HttpKernel\Tests\controller_func; |
| 15 | 14 | |
| 16 | 15 | |