{"action":"created","issue":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/146","repository_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/146/comments","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/146/events","html_url":"https://github.com/bcit-ci/CodeIgniter4/issues/146","id":163835426,"number":146,"title":"Problem throw error for default controller","user":{"login":"arma7x","id":13890136,"avatar_url":"https://avatars.githubusercontent.com/u/13890136?v=3","gravatar_id":"","url":"https://api.github.com/users/arma7x","html_url":"https://github.com/arma7x","followers_url":"https://api.github.com/users/arma7x/followers","following_url":"https://api.github.com/users/arma7x/following{/other_user}","gists_url":"https://api.github.com/users/arma7x/gists{/gist_id}","starred_url":"https://api.github.com/users/arma7x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arma7x/subscriptions","organizations_url":"https://api.github.com/users/arma7x/orgs","repos_url":"https://api.github.com/users/arma7x/repos","events_url":"https://api.github.com/users/arma7x/events{/privacy}","received_events_url":"https://api.github.com/users/arma7x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-05T12:07:46Z","updated_at":"2016-07-06T05:22:35Z","closed_at":null,"body":"1) Problem for routing without using namespace:\r\ncase-1 = **$routes->add('', 'Home::index')** $this->controller has value of Home, result OK\r\ncase-2 = **$routes->add('/', 'Home::index')** $this->controller has value of \\Home, result ErrorException line 500\r\n2) Problem for routing with namespace\r\ncase-1 = **$routes->add('/', 'Home::index', ['namespace'=>'App\\Controllers'])** $this->controller has value of \\App\\Controllers\\Home, result ErrorException line 500\r\n\r\n**What does line 500 really do in /system/Controller.php.**"},"comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/comments/230673724","html_url":"https://github.com/bcit-ci/CodeIgniter4/issues/146#issuecomment-230673724","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/146","id":230673724,"user":{"login":"lonnieezell","id":51931,"avatar_url":"https://avatars.githubusercontent.com/u/51931?v=3","gravatar_id":"","url":"https://api.github.com/users/lonnieezell","html_url":"https://github.com/lonnieezell","followers_url":"https://api.github.com/users/lonnieezell/followers","following_url":"https://api.github.com/users/lonnieezell/following{/other_user}","gists_url":"https://api.github.com/users/lonnieezell/gists{/gist_id}","starred_url":"https://api.github.com/users/lonnieezell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonnieezell/subscriptions","organizations_url":"https://api.github.com/users/lonnieezell/orgs","repos_url":"https://api.github.com/users/lonnieezell/repos","events_url":"https://api.github.com/users/lonnieezell/events{/privacy}","received_events_url":"https://api.github.com/users/lonnieezell/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T05:22:35Z","updated_at":"2016-07-06T05:22:35Z","body":"Non-namespaced auto-routing in sub-folders should be working now, yes. \r\n\r\nGood point about the non-existing controllers. I was so focused on getting everything else to work, I forgot a basic check to see if the file existed first. Doh!"}}
{"actor":{"display_login":"lonnieezell"}}