{"action":"opened","issue":{"url":"https://api.github.com/repos/JosephSilber/bouncer/issues/71","repository_url":"https://api.github.com/repos/JosephSilber/bouncer","labels_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/71/comments","events_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/71/events","html_url":"https://github.com/JosephSilber/bouncer/issues/71","id":142066489,"number":71,"title":"App\\User is hard coded","user":{"login":"bgies","id":821601,"avatar_url":"https://avatars.githubusercontent.com/u/821601?v=3","gravatar_id":"","url":"https://api.github.com/users/bgies","html_url":"https://github.com/bgies","followers_url":"https://api.github.com/users/bgies/followers","following_url":"https://api.github.com/users/bgies/following{/other_user}","gists_url":"https://api.github.com/users/bgies/gists{/gist_id}","starred_url":"https://api.github.com/users/bgies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgies/subscriptions","organizations_url":"https://api.github.com/users/bgies/orgs","repos_url":"https://api.github.com/users/bgies/repos","events_url":"https://api.github.com/users/bgies/events{/privacy}","received_events_url":"https://api.github.com/users/bgies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-19T14:30:00Z","updated_at":"2016-03-19T14:30:00Z","closed_at":null,"body":"I've noticed that you don't seem to have a config file that would allow us to change the model we are using. I have all my models in App\\Models, so I'm using App\\Models\\User as my User Model. That causes an error because Ability.php, Models.php, Role.php and BouncerServiceProvider.php all hard code the App\\User; \r\n\r\nPerhaps the User Model should be type-hinted ? \r\n"}}