@@ -2,31 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Audit\Http\Controllers; |
| 4 | 4 | |
| 5 | -use App; |
|
| 6 | -use URL; |
|
| 7 | -use View; |
|
| 8 | -use Facilitador; |
|
| 9 | -use Event; |
|
| 10 | -use Former; |
|
| 11 | -use Request; |
|
| 12 | -use SupportURL; |
|
| 13 | -use Redirect; |
|
| 14 | -use Response; |
|
| 15 | -use stdClass; |
|
| 16 | -use Validator; |
|
| 17 | -use Illuminate\Support\Str; |
|
| 18 | -use Pedreiro\Template\Input\Search; |
|
| 19 | -use Bkwld\Library\Utils\File; |
|
| 20 | -use Facilitador\Input\Sidebar; |
|
| 21 | -use Pedreiro\Elements\Fields\Listing; |
|
| 22 | -use Translation\Template\Localize; |
|
| 23 | -use Facilitador\Input\Position; |
|
| 24 | -use Facilitador\Input\NestedModels; |
|
| 25 | -use Facilitador\Input\ModelValidator; |
|
| 26 | -use Facilitador\Models\Base as BaseModel; |
|
| 27 | 5 | use Pedreiro\Http\Controllers\Admin\Base as Controller; |
| 28 | -use Pedreiro\Exceptions\ValidationFail; |
|
| 29 | -use Bkwld\Library\Laravel\Validator as BkwldLibraryValidator; |
|
| 30 | 6 | |
| 31 | 7 | /** |
| 32 | 8 | * The base controller is gives Decoy most of the magic/for-free mojo |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * this method / action so that a new routing rule doesn't need to be created |
| 85 | 85 | * |
| 86 | 86 | * @param int $id Model key |
| 87 | - * @return Illuminate\Http\Response |
|
| 87 | + * @return \Illuminate\Http\JsonResponse |
|
| 88 | 88 | */ |
| 89 | 89 | public function edit(Request $request, $id) |
| 90 | 90 | { |