{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1324","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1324/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1324/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1324/events","html_url":"https://github.com/slimphp/Slim/issues/1324","id":91628589,"number":1324,"title":"Empty string as root route for group","user":{"login":"dopesong","id":7201955,"avatar_url":"https://avatars.githubusercontent.com/u/7201955?v=3","gravatar_id":"","url":"https://api.github.com/users/dopesong","html_url":"https://github.com/dopesong","followers_url":"https://api.github.com/users/dopesong/followers","following_url":"https://api.github.com/users/dopesong/following{/other_user}","gists_url":"https://api.github.com/users/dopesong/gists{/gist_id}","starred_url":"https://api.github.com/users/dopesong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dopesong/subscriptions","organizations_url":"https://api.github.com/users/dopesong/orgs","repos_url":"https://api.github.com/users/dopesong/repos","events_url":"https://api.github.com/users/dopesong/events{/privacy}","received_events_url":"https://api.github.com/users/dopesong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slimphp/Slim/labels/Slim%203","name":"Slim 3","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slimphp/Slim/milestones/12","html_url":"https://github.com/slimphp/Slim/milestones/3.0.0","labels_url":"https://api.github.com/repos/slimphp/Slim/milestones/12/labels","id":382879,"number":12,"title":"3.0.0","description":"","creator":{"login":"codeguy","id":31677,"avatar_url":"https://avatars.githubusercontent.com/u/31677?v=3","gravatar_id":"","url":"https://api.github.com/users/codeguy","html_url":"https://github.com/codeguy","followers_url":"https://api.github.com/users/codeguy/followers","following_url":"https://api.github.com/users/codeguy/following{/other_user}","gists_url":"https://api.github.com/users/codeguy/gists{/gist_id}","starred_url":"https://api.github.com/users/codeguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeguy/subscriptions","organizations_url":"https://api.github.com/users/codeguy/orgs","repos_url":"https://api.github.com/users/codeguy/repos","events_url":"https://api.github.com/users/codeguy/events{/privacy}","received_events_url":"https://api.github.com/users/codeguy/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":89,"state":"open","created_at":"2013-07-20T18:57:07Z","updated_at":"2015-08-20T16:05:37Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-06-28T19:14:44Z","updated_at":"2015-08-31T08:49:59Z","closed_at":null,"body":"Slim3 route now no longer support just slash as root route:\r\n```php\r\n$app->group('/foo/bar', function () use ($app) {\r\n    $app->get('/', 'FooBar:action');\r\n    $app->get('/bar', 'FooBar:actionbar');\r\n});\r\n```\r\nIn order to get it work you have to keep string empty which is wrong while all other routes begins with slash\r\n```php\r\n$app->group('/foo/bar', function () use ($app) {\r\n    $app->get('', 'FooBar:action');\r\n    $app->get('/bar', 'FooBar:actionbar');\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/136305250","html_url":"https://github.com/slimphp/Slim/issues/1324#issuecomment-136305250","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1324","id":136305250,"user":{"login":"designermonkey","id":221344,"avatar_url":"https://avatars.githubusercontent.com/u/221344?v=3","gravatar_id":"","url":"https://api.github.com/users/designermonkey","html_url":"https://github.com/designermonkey","followers_url":"https://api.github.com/users/designermonkey/followers","following_url":"https://api.github.com/users/designermonkey/following{/other_user}","gists_url":"https://api.github.com/users/designermonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/designermonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designermonkey/subscriptions","organizations_url":"https://api.github.com/users/designermonkey/orgs","repos_url":"https://api.github.com/users/designermonkey/repos","events_url":"https://api.github.com/users/designermonkey/events{/privacy}","received_events_url":"https://api.github.com/users/designermonkey/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T08:49:59Z","updated_at":"2015-08-31T08:49:59Z","body":"So, there is a different style for a route group, and a single route? `''` vs `'/'`? That's just weird.\r\n\r\nConsistency is key."}}