Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant