Skip to content

Commit

Permalink
remove seo and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Bakytzhan Azimbay authored and Bakytzhan Azimbay committed Jul 19, 2023
1 parent 7a903d4 commit 77a316a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion database/migrations/create_admin_kit_pages_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ return new class extends Migration
$table->jsonb('page_title')->nullable();
$table->string('slug');
$table->boolean('site_display')->default(1);
$table->boolean('site_map_index')->default(1);
$table->softDeletes();
$table->timestamps();
});
Expand Down
1 change: 0 additions & 1 deletion src/Models/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Page extends AbstractModel
'slug',
'position',
'site_display',
'site_map_index',
];

public array $translatable = [
Expand Down
5 changes: 0 additions & 5 deletions src/UI/Filament/Resources/PageResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,4 @@ public static function getEloquentQuery(): Builder
SoftDeletingScope::class,
]);
}

public static function getTranslatableLocales(): array
{
return config('admin-kit.locales');
}
}

0 comments on commit 77a316a

Please sign in to comment.