{"action":"opened","issue":{"url":"https://api.github.com/repos/larkjs/lark-router/issues/21","labels_url":"https://api.github.com/repos/larkjs/lark-router/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/larkjs/lark-router/issues/21/comments","events_url":"https://api.github.com/repos/larkjs/lark-router/issues/21/events","html_url":"https://github.com/larkjs/lark-router/issues/21","id":94679404,"number":21,"title":"add Application reference into router","user":{"login":"zezhou","id":242065,"avatar_url":"https://avatars.githubusercontent.com/u/242065?v=3","gravatar_id":"","url":"https://api.github.com/users/zezhou","html_url":"https://github.com/zezhou","followers_url":"https://api.github.com/users/zezhou/followers","following_url":"https://api.github.com/users/zezhou/following{/other_user}","gists_url":"https://api.github.com/users/zezhou/gists{/gist_id}","starred_url":"https://api.github.com/users/zezhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zezhou/subscriptions","organizations_url":"https://api.github.com/users/zezhou/orgs","repos_url":"https://api.github.com/users/zezhou/repos","events_url":"https://api.github.com/users/zezhou/events{/privacy}","received_events_url":"https://api.github.com/users/zezhou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/larkjs/lark-router/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-13T09:31:40Z","updated_at":"2015-07-13T09:31:40Z","closed_at":null,"body":"add Application reference into router. Then we can use application's method in router. e.g\r\n \r\nmodule.exports = function(router){\r\n    this.use(router.routes()); // this reference is new adding\r\n    return router;\r\n};\r\n                  "}}