@@ -5,9 +5,9 @@ |
||
| 5 | 5 | namespace Audit\Events; |
| 6 | 6 | |
| 7 | 7 | use Exception; |
| 8 | +use Illuminate\Database\Eloquent\Model as Entity; |
|
| 8 | 9 | use Pedreiro\Models\Value; |
| 9 | 10 | use Pedreiro\Support\ValueCollection; |
| 10 | -use Illuminate\Database\Eloquent\Model as Entity; |
|
| 11 | 11 | |
| 12 | 12 | class EntityWasSaved |
| 13 | 13 | { |
@@ -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 Facilitador\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 |
@@ -2,16 +2,16 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Audit\Models; |
| 4 | 4 | |
| 5 | +use App\Models\User; |
|
| 6 | +use Audit\Models\Base; |
|
| 7 | +use Bkwld\Library\Utils\Text; |
|
| 8 | +use Config; |
|
| 5 | 9 | use DB; |
| 6 | 10 | use Facilitador; |
| 7 | -use Config; |
|
| 8 | -use SupportURL; |
|
| 11 | +use Illuminate\Database\Eloquent\Model; |
|
| 9 | 12 | use Illuminate\Support\Str; |
| 10 | 13 | use Pedreiro\Template\Input\Search; |
| 11 | -use Bkwld\Library\Utils\Text; |
|
| 12 | -use Illuminate\Database\Eloquent\Model; |
|
| 13 | -use Audit\Models\Base; |
|
| 14 | -use App\Models\User; |
|
| 14 | +use SupportURL; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Reperesents a single model change event. Typically a single CRUD action on |