Merge pull request #484 from openclassify/dia

#1273 [opensooq-bot] country selector
This commit is contained in:
Fatih Alp 2020-04-15 11:19:11 +03:00 committed by GitHub
commit 1a2611a7dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 12 deletions

View File

@ -5,10 +5,5 @@ use Anomaly\Streams\Platform\Addon\FieldType\FieldType;
class JsonFieldType extends FieldType class JsonFieldType extends FieldType
{ {
protected $inputView = 'visiosoft.field_type.json::input';
protected $config = [
];
protected $columnType = 'json'; protected $columnType = 'json';
} }

View File

@ -2,6 +2,7 @@
namespace App\Providers; namespace App\Providers;
use Anomaly\FilesModule\File\FileModel;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider class AppServiceProvider extends ServiceProvider
@ -10,11 +11,13 @@ class AppServiceProvider extends ServiceProvider
/** /**
* Bootstrap any application services. * Bootstrap any application services.
* *
* @param FileModel $fileModel
* @return void * @return void
*/ */
public function boot() public function boot(FileModel $fileModel)
{ {
// // Disable file versioning
$fileModel->disableVersioning();
} }
/** /**

View File

@ -196,6 +196,11 @@ return [
*/ */
//Laravel\Tinker\TinkerServiceProvider::class, //Laravel\Tinker\TinkerServiceProvider::class,
/*
* Streams Service Provider
*/
Anomaly\Streams\Platform\StreamsServiceProvider::class,
/* /*
* Application Service Providers... * Application Service Providers...
*/ */
@ -204,11 +209,6 @@ return [
// App\Providers\BroadcastServiceProvider::class, // App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class, App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class, App\Providers\RouteServiceProvider::class,
/*
* Streams Service Provider
*/
Anomaly\Streams\Platform\StreamsServiceProvider::class,
], ],
/* /*