major
parent
bfa13d0bf2
commit
cdd8da9fdb
|
|
@ -11,6 +11,7 @@ use App\Models\Objects\NirObject;
|
|||
use App\Models\Objects\ObjectType;
|
||||
use App\Models\Pages\Page;
|
||||
use App\Models\Permission;
|
||||
use App\Models\Publications\Publication;
|
||||
use App\Models\Role;
|
||||
use App\Models\SocialProvider;
|
||||
use App\Models\User;
|
||||
|
|
@ -55,7 +56,8 @@ class AppServiceProvider extends ServiceProvider
|
|||
'object' => NirObject::class,
|
||||
'object-type' => ObjectType::class,
|
||||
|
||||
'page' => Page::class
|
||||
'page' => Page::class,
|
||||
'publication' => Publication::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@ class PagesTableSeeder extends Seeder
|
|||
'children' => [
|
||||
'Новости' => ['type' => PageType::PUBLICATIONS],
|
||||
'СМИ о нас' => ['type' => PageType::REGISTRY],
|
||||
'Фотогалерея' => [],
|
||||
'Видеоархив' => [],
|
||||
'Фотогалерея' => ['type' => PageType::PUBLICATIONS],
|
||||
'Видеоархив' => ['type' => PageType::PUBLICATIONS],
|
||||
'Контакты для СМИ' => [],
|
||||
]
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue