{"action":"closed","issue":{"url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/68","repository_url":"https://api.github.com/repos/ARCANEDEV/LogViewer","labels_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/68/comments","events_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/68/events","html_url":"https://github.com/ARCANEDEV/LogViewer/issues/68","id":159641392,"number":68,"title":"Logger always takes the latest routes.","user":{"login":"Asvae","id":5394573,"avatar_url":"https://avatars.githubusercontent.com/u/5394573?v=3","gravatar_id":"","url":"https://api.github.com/users/Asvae","html_url":"https://github.com/Asvae","followers_url":"https://api.github.com/users/Asvae/followers","following_url":"https://api.github.com/users/Asvae/following{/other_user}","gists_url":"https://api.github.com/users/Asvae/gists{/gist_id}","starred_url":"https://api.github.com/users/Asvae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asvae/subscriptions","organizations_url":"https://api.github.com/users/Asvae/orgs","repos_url":"https://api.github.com/users/Asvae/repos","events_url":"https://api.github.com/users/Asvae/events{/privacy}","received_events_url":"https://api.github.com/users/Asvae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARCANEDEV/LogViewer/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-10T13:59:45Z","updated_at":"2016-06-10T18:48:49Z","closed_at":"2016-06-10T18:48:49Z","body":"I my `app.php` I have providers like that:\r\n```\r\nArcanedev\\LogViewer\\LogViewerServiceProvider::class,\r\nApp\\MyServiceProvider::class,\r\n```\r\nMy provider registers the following route:\r\n```\r\n$router->get('{slug}', function () { return view('app'); })->where('slug', '(.*)?');\r\n```\r\nThe problem is that despite the fact that `App\\MyServiceProvider` is registered second, the lowest priority is always taken by LogViewer routes.\r\nYou can clearly see it in dump:\r\n```\r\n// dd(\\Route::getRoutes()->getRoutesByMethod()['GET']);\r\n  \"{slug}\" => Route {#167 ▶}\r\n  \"log-viewer\" => Route {#170 ▶}\r\n  \"log-viewer/logs\" => Route {#172 ▶}\r\n  \"log-viewer/logs/{date}\" => Route {#175 ▶}\r\n  \"log-viewer/logs/{date}/download\" => Route {#176 ▶}\r\n  \"log-viewer/logs/{date}/{level}\" => Route {#177 ▶}\r\n```\r\nAny information is much appreciated."}}
{"actor":{"display_login":"arcanedev-maroc"}}