{"action":"created","issue":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/533","labels_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/533/comments","events_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/533/events","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/533","id":100413959,"number":533,"title":"routes starting with param","user":{"login":"alzalabany","id":3620349,"avatar_url":"https://avatars.githubusercontent.com/u/3620349?v=3","gravatar_id":"","url":"https://api.github.com/users/alzalabany","html_url":"https://github.com/alzalabany","followers_url":"https://api.github.com/users/alzalabany/followers","following_url":"https://api.github.com/users/alzalabany/following{/other_user}","gists_url":"https://api.github.com/users/alzalabany/gists{/gist_id}","starred_url":"https://api.github.com/users/alzalabany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alzalabany/subscriptions","organizations_url":"https://api.github.com/users/alzalabany/orgs","repos_url":"https://api.github.com/users/alzalabany/repos","events_url":"https://api.github.com/users/alzalabany/events{/privacy}","received_events_url":"https://api.github.com/users/alzalabany/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-11T21:14:06Z","updated_at":"2015-08-12T05:02:27Z","closed_at":null,"body":"its not possible to map to urls like\r\n`/resource/:id/users` OR `/posts/:id/comments` for getting a specific post comments.\r\n\r\ni think maybe we can use\r\n`GET_comments($id){}` to match such routes -reversing the position of the `http verb` to identify that this route will match parameter"},"comment":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/comments/130166510","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/533#issuecomment-130166510","issue_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/533","id":130166510,"user":{"login":"softwarespot","id":5333690,"avatar_url":"https://avatars.githubusercontent.com/u/5333690?v=3","gravatar_id":"","url":"https://api.github.com/users/softwarespot","html_url":"https://github.com/softwarespot","followers_url":"https://api.github.com/users/softwarespot/followers","following_url":"https://api.github.com/users/softwarespot/following{/other_user}","gists_url":"https://api.github.com/users/softwarespot/gists{/gist_id}","starred_url":"https://api.github.com/users/softwarespot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwarespot/subscriptions","organizations_url":"https://api.github.com/users/softwarespot/orgs","repos_url":"https://api.github.com/users/softwarespot/repos","events_url":"https://api.github.com/users/softwarespot/events{/privacy}","received_events_url":"https://api.github.com/users/softwarespot/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T05:02:26Z","updated_at":"2015-08-12T05:02:26Z","body":"What about /books/:id/chapters/:2/pages/:3. Could your code do that? Have you read how to use routes in CI3? I honestly don't feel comfortable doing something like this in the _remap function."}}