{"action":"created","issue":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/355","repository_url":"https://api.github.com/repos/the-control-group/voyager","labels_url":"https://api.github.com/repos/the-control-group/voyager/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/355/comments","events_url":"https://api.github.com/repos/the-control-group/voyager/issues/355/events","html_url":"https://github.com/the-control-group/voyager/issues/355","id":194594282,"number":355,"title":"Model names are plural, leads to error","user":{"login":"wymedia","id":8831818,"avatar_url":"https://avatars.githubusercontent.com/u/8831818?v=3","gravatar_id":"","url":"https://api.github.com/users/wymedia","html_url":"https://github.com/wymedia","followers_url":"https://api.github.com/users/wymedia/followers","following_url":"https://api.github.com/users/wymedia/following{/other_user}","gists_url":"https://api.github.com/users/wymedia/gists{/gist_id}","starred_url":"https://api.github.com/users/wymedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wymedia/subscriptions","organizations_url":"https://api.github.com/users/wymedia/orgs","repos_url":"https://api.github.com/users/wymedia/repos","events_url":"https://api.github.com/users/wymedia/events{/privacy}","received_events_url":"https://api.github.com/users/wymedia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-09T13:15:39Z","updated_at":"2016-12-11T09:10:24Z","closed_at":null,"body":"- Laravel Version: 5.3.26\r\n- Voyager Version: 0.10.0\r\n- PHP Version:\r\n- Database Driver & Version:\r\n\r\n### Description:\r\nWhen creating a database table, the 'create model' button will create a model using plural (e.g. App\\Videos). When one then uses the bread feature, it pre-fills the 'Model Name' with singular version (e.g App\\Video). This results in an error. It can be solved by going into your code and change the model to the singular version manually.\r\n\r\nBetter would be that the 'create model' is immediately creating a singular version model (e.g. App\\video)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/comments/266271276","html_url":"https://github.com/the-control-group/voyager/issues/355#issuecomment-266271276","issue_url":"https://api.github.com/repos/the-control-group/voyager/issues/355","id":266271276,"user":{"login":"marktopper","id":2232539,"avatar_url":"https://avatars.githubusercontent.com/u/2232539?v=3","gravatar_id":"","url":"https://api.github.com/users/marktopper","html_url":"https://github.com/marktopper","followers_url":"https://api.github.com/users/marktopper/followers","following_url":"https://api.github.com/users/marktopper/following{/other_user}","gists_url":"https://api.github.com/users/marktopper/gists{/gist_id}","starred_url":"https://api.github.com/users/marktopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marktopper/subscriptions","organizations_url":"https://api.github.com/users/marktopper/orgs","repos_url":"https://api.github.com/users/marktopper/repos","events_url":"https://api.github.com/users/marktopper/events{/privacy}","received_events_url":"https://api.github.com/users/marktopper/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T09:10:24Z","updated_at":"2016-12-11T09:10:24Z","body":"Okay. I will soon come up with a fix for this and let you know."}}
{"actor":{"display_login":"marktopper"}}