@@ -11,22 +11,9 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Gitamin\Http\Controllers\Dashboard; |
| 13 | 13 | |
| 14 | -use AltThree\Validator\ValidationException; |
|
| 15 | -use Gitamin\Commands\Project\AddProjectCommand; |
|
| 16 | -use Gitamin\Commands\Project\RemoveProjectCommand; |
|
| 17 | -use Gitamin\Commands\Project\UpdateProjectCommand; |
|
| 18 | -use Gitamin\Commands\Owner\AddOwnerCommand; |
|
| 19 | -use Gitamin\Commands\Owner\RemoveOwnerCommand; |
|
| 20 | -use Gitamin\Commands\Owner\UpdateOwnerCommand; |
|
| 21 | 14 | use Gitamin\Http\Controllers\Controller; |
| 22 | -use Gitamin\Models\Project; |
|
| 23 | 15 | use Gitamin\Models\Group; |
| 24 | -use Gitamin\Models\Tag; |
|
| 25 | -use GrahamCampbell\Binput\Facades\Binput; |
|
| 26 | -use Illuminate\Foundation\Bus\DispatchesJobs; |
|
| 27 | -use Illuminate\Support\Facades\Redirect; |
|
| 28 | 16 | use Illuminate\Support\Facades\View; |
| 29 | -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
|
| 30 | 17 | |
| 31 | 18 | class GroupsController extends Controller |
| 32 | 19 | { |
@@ -13,18 +13,14 @@ |
||
| 13 | 13 | |
| 14 | 14 | use AltThree\Validator\ValidationException; |
| 15 | 15 | use Gitamin\Commands\Owner\AddOwnerCommand; |
| 16 | -use Gitamin\Commands\Owner\RemoveOwnerCommand; |
|
| 17 | 16 | use Gitamin\Commands\Owner\UpdateOwnerCommand; |
| 18 | -use Gitamin\Models\Project; |
|
| 19 | 17 | use Gitamin\Models\Owner; |
| 20 | 18 | use Gitamin\Models\Group; |
| 21 | -use Gitamin\Models\Tag; |
|
| 22 | 19 | use Gitamin\Http\Controllers\Controller; |
| 23 | 20 | use GrahamCampbell\Binput\Facades\Binput; |
| 24 | 21 | use Illuminate\Support\Facades\Redirect; |
| 25 | 22 | use Illuminate\Support\Facades\Auth; |
| 26 | 23 | use Illuminate\Support\Facades\View; |
| 27 | -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
|
| 28 | 24 | use Illuminate\Database\QueryException; |
| 29 | 25 | |
| 30 | 26 | class GroupsController extends Controller |
@@ -19,13 +19,11 @@ |
||
| 19 | 19 | use GrahamCampbell\Binput\Facades\Binput; |
| 20 | 20 | use AltThree\Validator\ValidationException; |
| 21 | 21 | use Gitamin\Commands\Project\AddProjectCommand; |
| 22 | -use Gitamin\Commands\Project\RemoveProjectCommand; |
|
| 23 | 22 | use Gitamin\Commands\Project\UpdateProjectCommand; |
| 24 | 23 | use Gitamin\Models\Project; |
| 25 | 24 | use Gitamin\Models\Owner; |
| 26 | 25 | use Gitamin\Models\Group; |
| 27 | 26 | use Gitamin\Models\Tag; |
| 28 | - |
|
| 29 | 27 | use Gitamin\Http\Controllers\Controller; |
| 30 | 28 | |
| 31 | 29 | class ProjectsController extends Controller |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | |
| 30 | 30 | use AltThree\Validator\ValidatingTrait; |
| 31 | 31 | use Illuminate\Database\Eloquent\Model; |
| 32 | -use Illuminate\Support\Facades\Auth; |
|
| 33 | 32 | |
| 34 | 33 | class Owner extends Model |
| 35 | 34 | { |