Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Route [voyager.posts.index] not defined #5862

Open
goddie9x opened this issue May 26, 2024 · 0 comments
Open

Route [voyager.posts.index] not defined #5862

goddie9x opened this issue May 26, 2024 · 0 comments

Comments

@goddie9x
Copy link

Laravel version

9.0

PHP version

8.0.30

Voyager version

1.6

Database

mysql 8.0.30

Description

the same problem with closed issue that "Route voyager posts index not defined" when I opened the sub menu "database" inside the menu "tools"
I have read the root view file (which render these DB manager page) then I see it will bypass the table which is set in list table hidden in config)

"@continue(in_array($table->name, config('voyager.database.tables.hidden', [])))"
and then I add "posts" to hidden field inside voyager config (in config folder) and it temp fix =))) the part of the voyager config file that I refer above (inside config/voyager.php):

'database' => [
'tables' => [
'hidden' => ['migrations', 'data_rows', 'data_types', 'menu_items', 'password_resets', 'permission_role', 'personal_access_tokens', 'settings','posts'],
],
'autoload_migrations' => true,
],

Steps to reproduce

I've modified the PostsTableSeeder then when I opened the sub menu "database" inside the menu "tools" then boom I got the error

Expected behavior

that must list all table can be modify in here

Screenshots

No response

Additional context

No response

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant