{"action":"opened","issue":{"url":"https://api.github.com/repos/TurboGears/tg2/issues/74","repository_url":"https://api.github.com/repos/TurboGears/tg2","labels_url":"https://api.github.com/repos/TurboGears/tg2/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/TurboGears/tg2/issues/74/comments","events_url":"https://api.github.com/repos/TurboGears/tg2/issues/74/events","html_url":"https://github.com/TurboGears/tg2/issues/74","id":183183986,"number":74,"title":"RestController doesn't map urls to the method.","user":{"login":"eteamin","id":17616422,"avatar_url":"https://avatars.githubusercontent.com/u/17616422?v=3","gravatar_id":"","url":"https://api.github.com/users/eteamin","html_url":"https://github.com/eteamin","followers_url":"https://api.github.com/users/eteamin/followers","following_url":"https://api.github.com/users/eteamin/following{/other_user}","gists_url":"https://api.github.com/users/eteamin/gists{/gist_id}","starred_url":"https://api.github.com/users/eteamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteamin/subscriptions","organizations_url":"https://api.github.com/users/eteamin/orgs","repos_url":"https://api.github.com/users/eteamin/repos","events_url":"https://api.github.com/users/eteamin/events{/privacy}","received_events_url":"https://api.github.com/users/eteamin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T02:35:30Z","updated_at":"2016-10-15T02:35:30Z","closed_at":null,"body":"According to your document, when Inheriting from RestController, the method `get_one` is mapped to `controller_name/id` so in my case:\r\n`class AccountController(RestController):\r\n\r\n    @expose('json')\r\n    def get_one(self, **kw):\r\n        print('kw')\r\n`\r\nand in my root controller I have\r\n`accounts = AccountController()`\r\nso `get_one` must be accessible using '/accounts/1` but it returns 404. why?"}}
{"actor":{"display_login":"eteamin"}}