{"action":"closed","issue":{"url":"https://api.github.com/repos/expressjs/express/issues/3084","repository_url":"https://api.github.com/repos/expressjs/express","labels_url":"https://api.github.com/repos/expressjs/express/issues/3084/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/express/issues/3084/comments","events_url":"https://api.github.com/repos/expressjs/express/issues/3084/events","html_url":"https://github.com/expressjs/express/issues/3084","id":176241295,"number":3084,"title":"Params from root route not showing","user":{"login":"Rushmead","id":1780637,"avatar_url":"https://avatars.githubusercontent.com/u/1780637?v=3","gravatar_id":"","url":"https://api.github.com/users/Rushmead","html_url":"https://github.com/Rushmead","followers_url":"https://api.github.com/users/Rushmead/followers","following_url":"https://api.github.com/users/Rushmead/following{/other_user}","gists_url":"https://api.github.com/users/Rushmead/gists{/gist_id}","starred_url":"https://api.github.com/users/Rushmead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rushmead/subscriptions","organizations_url":"https://api.github.com/users/Rushmead/orgs","repos_url":"https://api.github.com/users/Rushmead/repos","events_url":"https://api.github.com/users/Rushmead/events{/privacy}","received_events_url":"https://api.github.com/users/Rushmead/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/expressjs/express/labels/4.x","name":"4.x","color":"ededed"},{"url":"https://api.github.com/repos/expressjs/express/labels/module:router","name":"module:router","color":"bfe5bf"},{"url":"https://api.github.com/repos/expressjs/express/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-11T12:24:36Z","updated_at":"2016-09-11T21:27:29Z","closed_at":"2016-09-11T21:27:29Z","body":"Hi all,\r\n\r\nSo i have a file called commands.routes.js and inside i use the express router to create a get route on the '/' path. So then i add the routes in my express config, like so: `app.use('/panel/server/:id/commands', commands);` however, when i output req.params in my route, its empty and the ':id' param is not there. Is this purposeful or is it a mistake?\r\n\r\n\r\nThanks\r\nRushmead"}}
{"actor":{"display_login":"dougwilson"}}