{"action":"created","comment":{"url":"https://api.github.com/repos/palomajs/paloma/pulls/comments/46428768","id":46428768,"diff_hunk":"@@ -27,6 +27,7 @@ module.exports = class Paloma extends Koa {\n   }\n \n   route(route) {\n+    route.engine = route.engine || this.engine || undefined;","path":"lib/paloma.js","position":4,"original_position":4,"commit_id":"87616b1d9943dcf5a6bd11081658cad2deac12c7","original_commit_id":"87616b1d9943dcf5a6bd11081658cad2deac12c7","user":{"login":"zhuangya","id":499038,"avatar_url":"https://avatars.githubusercontent.com/u/499038?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuangya","html_url":"https://github.com/zhuangya","followers_url":"https://api.github.com/users/zhuangya/followers","following_url":"https://api.github.com/users/zhuangya/following{/other_user}","gists_url":"https://api.github.com/users/zhuangya/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuangya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuangya/subscriptions","organizations_url":"https://api.github.com/users/zhuangya/orgs","repos_url":"https://api.github.com/users/zhuangya/repos","events_url":"https://api.github.com/users/zhuangya/events{/privacy}","received_events_url":"https://api.github.com/users/zhuangya/received_events","type":"User","site_admin":false},"body":"but there is no `app` in `paloma-router` :(","created_at":"2015-12-02T15:35:43Z","updated_at":"2015-12-02T15:35:43Z","html_url":"https://github.com/palomajs/paloma/pull/5#discussion_r46428768","pull_request_url":"https://api.github.com/repos/palomajs/paloma/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/palomajs/paloma/pulls/comments/46428768"},"html":{"href":"https://github.com/palomajs/paloma/pull/5#discussion_r46428768"},"pull_request":{"href":"https://api.github.com/repos/palomajs/paloma/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/palomajs/paloma/pulls/5","id":52352518,"html_url":"https://github.com/palomajs/paloma/pull/5","diff_url":"https://github.com/palomajs/paloma/pull/5.diff","patch_url":"https://github.com/palomajs/paloma/pull/5.patch","issue_url":"https://api.github.com/repos/palomajs/paloma/issues/5","number":5,"state":"open","locked":false,"title":"add: setEngine","user":{"login":"zhuangya","id":499038,"avatar_url":"https://avatars.githubusercontent.com/u/499038?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuangya","html_url":"https://github.com/zhuangya","followers_url":"https://api.github.com/users/zhuangya/followers","following_url":"https://api.github.com/users/zhuangya/following{/other_user}","gists_url":"https://api.github.com/users/zhuangya/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuangya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuangya/subscriptions","organizations_url":"https://api.github.com/users/zhuangya/orgs","repos_url":"https://api.github.com/users/zhuangya/repos","events_url":"https://api.github.com/users/zhuangya/events{/privacy}","received_events_url":"https://api.github.com/users/zhuangya/received_events","type":"User","site_admin":false},"body":"shorthand for set each route's engine.","created_at":"2015-12-02T04:28:11Z","updated_at":"2015-12-02T15:35:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c36058269f0dd14b5c2abad4fd97b2dd980f2a3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/palomajs/paloma/pulls/5/commits","review_comments_url":"https://api.github.com/repos/palomajs/paloma/pulls/5/comments","review_comment_url":"https://api.github.com/repos/palomajs/paloma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palomajs/paloma/issues/5/comments","statuses_url":"https://api.github.com/repos/palomajs/paloma/statuses/87616b1d9943dcf5a6bd11081658cad2deac12c7","head":{"label":"zhuangya:set-engine","ref":"set-engine","sha":"87616b1d9943dcf5a6bd11081658cad2deac12c7","user":{"login":"zhuangya","id":499038,"avatar_url":"https://avatars.githubusercontent.com/u/499038?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuangya","html_url":"https://github.com/zhuangya","followers_url":"https://api.github.com/users/zhuangya/followers","following_url":"https://api.github.com/users/zhuangya/following{/other_user}","gists_url":"https://api.github.com/users/zhuangya/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuangya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuangya/subscriptions","organizations_url":"https://api.github.com/users/zhuangya/orgs","repos_url":"https://api.github.com/users/zhuangya/repos","events_url":"https://api.github.com/users/zhuangya/events{/privacy}","received_events_url":"https://api.github.com/users/zhuangya/received_events","type":"User","site_admin":false},"repo":{"id":45916241,"name":"paloma","full_name":"zhuangya/paloma","owner":{"login":"zhuangya","id":499038,"avatar_url":"https://avatars.githubusercontent.com/u/499038?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuangya","html_url":"https://github.com/zhuangya","followers_url":"https://api.github.com/users/zhuangya/followers","following_url":"https://api.github.com/users/zhuangya/following{/other_user}","gists_url":"https://api.github.com/users/zhuangya/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuangya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuangya/subscriptions","organizations_url":"https://api.github.com/users/zhuangya/orgs","repos_url":"https://api.github.com/users/zhuangya/repos","events_url":"https://api.github.com/users/zhuangya/events{/privacy}","received_events_url":"https://api.github.com/users/zhuangya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhuangya/paloma","description":"An angluar-like MVC framework, based on `koa` & `bottlejs`.","fork":true,"url":"https://api.github.com/repos/zhuangya/paloma","forks_url":"https://api.github.com/repos/zhuangya/paloma/forks","keys_url":"https://api.github.com/repos/zhuangya/paloma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhuangya/paloma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhuangya/paloma/teams","hooks_url":"https://api.github.com/repos/zhuangya/paloma/hooks","issue_events_url":"https://api.github.com/repos/zhuangya/paloma/issues/events{/number}","events_url":"https://api.github.com/repos/zhuangya/paloma/events","assignees_url":"https://api.github.com/repos/zhuangya/paloma/assignees{/user}","branches_url":"https://api.github.com/repos/zhuangya/paloma/branches{/branch}","tags_url":"https://api.github.com/repos/zhuangya/paloma/tags","blobs_url":"https://api.github.com/repos/zhuangya/paloma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhuangya/paloma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhuangya/paloma/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhuangya/paloma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhuangya/paloma/statuses/{sha}","languages_url":"https://api.github.com/repos/zhuangya/paloma/languages","stargazers_url":"https://api.github.com/repos/zhuangya/paloma/stargazers","contributors_url":"https://api.github.com/repos/zhuangya/paloma/contributors","subscribers_url":"https://api.github.com/repos/zhuangya/paloma/subscribers","subscription_url":"https://api.github.com/repos/zhuangya/paloma/subscription","commits_url":"https://api.github.com/repos/zhuangya/paloma/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhuangya/paloma/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhuangya/paloma/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhuangya/paloma/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhuangya/paloma/contents/{+path}","compare_url":"https://api.github.com/repos/zhuangya/paloma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhuangya/paloma/merges","archive_url":"https://api.github.com/repos/zhuangya/paloma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhuangya/paloma/downloads","issues_url":"https://api.github.com/repos/zhuangya/paloma/issues{/number}","pulls_url":"https://api.github.com/repos/zhuangya/paloma/pulls{/number}","milestones_url":"https://api.github.com/repos/zhuangya/paloma/milestones{/number}","notifications_url":"https://api.github.com/repos/zhuangya/paloma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhuangya/paloma/labels{/name}","releases_url":"https://api.github.com/repos/zhuangya/paloma/releases{/id}","created_at":"2015-11-10T14:14:27Z","updated_at":"2015-11-10T14:14:28Z","pushed_at":"2015-12-02T15:11:24Z","git_url":"git://github.com/zhuangya/paloma.git","ssh_url":"git@github.com:zhuangya/paloma.git","clone_url":"https://github.com/zhuangya/paloma.git","svn_url":"https://github.com/zhuangya/paloma","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"palomajs:master","ref":"master","sha":"aab5f3956dccc826b57ce054944869685dffa174","user":{"login":"palomajs","id":15731989,"avatar_url":"https://avatars.githubusercontent.com/u/15731989?v=3","gravatar_id":"","url":"https://api.github.com/users/palomajs","html_url":"https://github.com/palomajs","followers_url":"https://api.github.com/users/palomajs/followers","following_url":"https://api.github.com/users/palomajs/following{/other_user}","gists_url":"https://api.github.com/users/palomajs/gists{/gist_id}","starred_url":"https://api.github.com/users/palomajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palomajs/subscriptions","organizations_url":"https://api.github.com/users/palomajs/orgs","repos_url":"https://api.github.com/users/palomajs/repos","events_url":"https://api.github.com/users/palomajs/events{/privacy}","received_events_url":"https://api.github.com/users/palomajs/received_events","type":"Organization","site_admin":false},"repo":{"id":45903883,"name":"paloma","full_name":"palomajs/paloma","owner":{"login":"palomajs","id":15731989,"avatar_url":"https://avatars.githubusercontent.com/u/15731989?v=3","gravatar_id":"","url":"https://api.github.com/users/palomajs","html_url":"https://github.com/palomajs","followers_url":"https://api.github.com/users/palomajs/followers","following_url":"https://api.github.com/users/palomajs/following{/other_user}","gists_url":"https://api.github.com/users/palomajs/gists{/gist_id}","starred_url":"https://api.github.com/users/palomajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palomajs/subscriptions","organizations_url":"https://api.github.com/users/palomajs/orgs","repos_url":"https://api.github.com/users/palomajs/repos","events_url":"https://api.github.com/users/palomajs/events{/privacy}","received_events_url":"https://api.github.com/users/palomajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/palomajs/paloma","description":"An angluar-like MVC framework, based on koa & bottlejs.","fork":false,"url":"https://api.github.com/repos/palomajs/paloma","forks_url":"https://api.github.com/repos/palomajs/paloma/forks","keys_url":"https://api.github.com/repos/palomajs/paloma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palomajs/paloma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palomajs/paloma/teams","hooks_url":"https://api.github.com/repos/palomajs/paloma/hooks","issue_events_url":"https://api.github.com/repos/palomajs/paloma/issues/events{/number}","events_url":"https://api.github.com/repos/palomajs/paloma/events","assignees_url":"https://api.github.com/repos/palomajs/paloma/assignees{/user}","branches_url":"https://api.github.com/repos/palomajs/paloma/branches{/branch}","tags_url":"https://api.github.com/repos/palomajs/paloma/tags","blobs_url":"https://api.github.com/repos/palomajs/paloma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palomajs/paloma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palomajs/paloma/git/refs{/sha}","trees_url":"https://api.github.com/repos/palomajs/paloma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palomajs/paloma/statuses/{sha}","languages_url":"https://api.github.com/repos/palomajs/paloma/languages","stargazers_url":"https://api.github.com/repos/palomajs/paloma/stargazers","contributors_url":"https://api.github.com/repos/palomajs/paloma/contributors","subscribers_url":"https://api.github.com/repos/palomajs/paloma/subscribers","subscription_url":"https://api.github.com/repos/palomajs/paloma/subscription","commits_url":"https://api.github.com/repos/palomajs/paloma/commits{/sha}","git_commits_url":"https://api.github.com/repos/palomajs/paloma/git/commits{/sha}","comments_url":"https://api.github.com/repos/palomajs/paloma/comments{/number}","issue_comment_url":"https://api.github.com/repos/palomajs/paloma/issues/comments{/number}","contents_url":"https://api.github.com/repos/palomajs/paloma/contents/{+path}","compare_url":"https://api.github.com/repos/palomajs/paloma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palomajs/paloma/merges","archive_url":"https://api.github.com/repos/palomajs/paloma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palomajs/paloma/downloads","issues_url":"https://api.github.com/repos/palomajs/paloma/issues{/number}","pulls_url":"https://api.github.com/repos/palomajs/paloma/pulls{/number}","milestones_url":"https://api.github.com/repos/palomajs/paloma/milestones{/number}","notifications_url":"https://api.github.com/repos/palomajs/paloma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palomajs/paloma/labels{/name}","releases_url":"https://api.github.com/repos/palomajs/paloma/releases{/id}","created_at":"2015-11-10T10:11:31Z","updated_at":"2015-11-23T06:23:08Z","pushed_at":"2015-12-02T15:11:24Z","git_url":"git://github.com/palomajs/paloma.git","ssh_url":"git@github.com:palomajs/paloma.git","clone_url":"https://github.com/palomajs/paloma.git","svn_url":"https://github.com/palomajs/paloma","homepage":"","size":0,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palomajs/paloma/pulls/5"},"html":{"href":"https://github.com/palomajs/paloma/pull/5"},"issue":{"href":"https://api.github.com/repos/palomajs/paloma/issues/5"},"comments":{"href":"https://api.github.com/repos/palomajs/paloma/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/palomajs/paloma/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/palomajs/paloma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palomajs/paloma/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/palomajs/paloma/statuses/87616b1d9943dcf5a6bd11081658cad2deac12c7"}}}}