{"action":"opened","issue":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/2685","repository_url":"https://api.github.com/repos/the-control-group/voyager","labels_url":"https://api.github.com/repos/the-control-group/voyager/issues/2685/labels{/name}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/2685/comments","events_url":"https://api.github.com/repos/the-control-group/voyager/issues/2685/events","html_url":"https://github.com/the-control-group/voyager/issues/2685","id":297998899,"number":2685,"title":"Potential bad route for bread","user":{"login":"ArtemMolotov","id":22825202,"avatar_url":"https://avatars1.githubusercontent.com/u/22825202?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemMolotov","html_url":"https://github.com/ArtemMolotov","followers_url":"https://api.github.com/users/ArtemMolotov/followers","following_url":"https://api.github.com/users/ArtemMolotov/following{/other_user}","gists_url":"https://api.github.com/users/ArtemMolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemMolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemMolotov/subscriptions","organizations_url":"https://api.github.com/users/ArtemMolotov/orgs","repos_url":"https://api.github.com/users/ArtemMolotov/repos","events_url":"https://api.github.com/users/ArtemMolotov/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemMolotov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T11:43:58Z","updated_at":"2018-02-17T11:43:58Z","closed_at":null,"author_association":"NONE","body":"- Laravel Version: 5.5.34\r\n- Voyager Version: 1.0.15\r\n- PHP Version: 7.1\r\n- Database Driver & Version: MySQL\r\n\r\n### Description:\r\nIf we create bread that uses a table name with a symbol `_` (e.g. `example_table`), we will can't write `route('voyager.example_table.index')`. Because this will cause an error:\r\n```\r\nRoute [voyager.payment_statuses.index] not defined.\r\n```\r\nBut `route('voyager.example-table.index')` will work successfully.\r\n\r\nCan you please help me with that?\r\n\r\n### Steps To Reproduce:\r\n1. Create database table `example_table`\r\n2. Create bread\r\n3. Add `route('voyager.example_table.index')` somewhere (e.g. custom view)\r\n4. Open the page where you added `route('voyager.example_table.index')`."}}
{"actor":{"display_login":"ArtemMolotov"}}