{"action":"opened","number":49,"pull_request":{"url":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/49","id":78589292,"html_url":"https://github.com/RandomEtc/ejs-locals/pull/49","diff_url":"https://github.com/RandomEtc/ejs-locals/pull/49.diff","patch_url":"https://github.com/RandomEtc/ejs-locals/pull/49.patch","issue_url":"https://api.github.com/repos/RandomEtc/ejs-locals/issues/49","number":49,"state":"open","locked":false,"title":"In this case I need implement themes","user":{"login":"gsalgadotoledo","id":1288502,"avatar_url":"https://avatars.githubusercontent.com/u/1288502?v=3","gravatar_id":"","url":"https://api.github.com/users/gsalgadotoledo","html_url":"https://github.com/gsalgadotoledo","followers_url":"https://api.github.com/users/gsalgadotoledo/followers","following_url":"https://api.github.com/users/gsalgadotoledo/following{/other_user}","gists_url":"https://api.github.com/users/gsalgadotoledo/gists{/gist_id}","starred_url":"https://api.github.com/users/gsalgadotoledo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsalgadotoledo/subscriptions","organizations_url":"https://api.github.com/users/gsalgadotoledo/orgs","repos_url":"https://api.github.com/users/gsalgadotoledo/repos","events_url":"https://api.github.com/users/gsalgadotoledo/events{/privacy}","received_events_url":"https://api.github.com/users/gsalgadotoledo/received_events","type":"User","site_admin":false},"body":"Hello everyone, \r\nI just need implement themes, in order to do that I hace two differents directories someting like this:\r\n\r\n./themes/theme-1\r\n./themes/theme-2\r\n\r\nAnd the views could be in differents folders for example\r\nUsers/views\r\nBlog/views\r\n\r\nIt's work pretty awesome when I use this in run time:\r\n   \r\n   var app = express();\r\n   var users = express();\r\n   app.user( '/Users', users);\r\n   users.set( 'views', path.dirname('./Users/views/front');\r\n   users.locals._layoutFile = '//themes/theme-1/layout';\r\n   users.get('/',function(){\r\n      ... ...\r\n   })\r\n","created_at":"2016-07-24T04:12:39Z","updated_at":"2016-07-24T04:12:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/49/commits","review_comments_url":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/49/comments","review_comment_url":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RandomEtc/ejs-locals/issues/49/comments","statuses_url":"https://api.github.com/repos/RandomEtc/ejs-locals/statuses/3bafa479d70c7771bb9f452ce1c6509812c9853a","head":{"label":"gsalgadotoledo:master","ref":"master","sha":"3bafa479d70c7771bb9f452ce1c6509812c9853a","user":{"login":"gsalgadotoledo","id":1288502,"avatar_url":"https://avatars.githubusercontent.com/u/1288502?v=3","gravatar_id":"","url":"https://api.github.com/users/gsalgadotoledo","html_url":"https://github.com/gsalgadotoledo","followers_url":"https://api.github.com/users/gsalgadotoledo/followers","following_url":"https://api.github.com/users/gsalgadotoledo/following{/other_user}","gists_url":"https://api.github.com/users/gsalgadotoledo/gists{/gist_id}","starred_url":"https://api.github.com/users/gsalgadotoledo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsalgadotoledo/subscriptions","organizations_url":"https://api.github.com/users/gsalgadotoledo/orgs","repos_url":"https://api.github.com/users/gsalgadotoledo/repos","events_url":"https://api.github.com/users/gsalgadotoledo/events{/privacy}","received_events_url":"https://api.github.com/users/gsalgadotoledo/received_events","type":"User","site_admin":false},"repo":{"id":64047888,"name":"ejs-locals","full_name":"gsalgadotoledo/ejs-locals","owner":{"login":"gsalgadotoledo","id":1288502,"avatar_url":"https://avatars.githubusercontent.com/u/1288502?v=3","gravatar_id":"","url":"https://api.github.com/users/gsalgadotoledo","html_url":"https://github.com/gsalgadotoledo","followers_url":"https://api.github.com/users/gsalgadotoledo/followers","following_url":"https://api.github.com/users/gsalgadotoledo/following{/other_user}","gists_url":"https://api.github.com/users/gsalgadotoledo/gists{/gist_id}","starred_url":"https://api.github.com/users/gsalgadotoledo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsalgadotoledo/subscriptions","organizations_url":"https://api.github.com/users/gsalgadotoledo/orgs","repos_url":"https://api.github.com/users/gsalgadotoledo/repos","events_url":"https://api.github.com/users/gsalgadotoledo/events{/privacy}","received_events_url":"https://api.github.com/users/gsalgadotoledo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gsalgadotoledo/ejs-locals","description":"Express 3.x layout, partial and block template functions for the EJS template engine.","fork":true,"url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals","forks_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/forks","keys_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/teams","hooks_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/hooks","issue_events_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/issues/events{/number}","events_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/events","assignees_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/assignees{/user}","branches_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/branches{/branch}","tags_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/tags","blobs_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/git/refs{/sha}","trees_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/statuses/{sha}","languages_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/languages","stargazers_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/stargazers","contributors_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/contributors","subscribers_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/subscribers","subscription_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/subscription","commits_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/commits{/sha}","git_commits_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/git/commits{/sha}","comments_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/comments{/number}","issue_comment_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/issues/comments{/number}","contents_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/contents/{+path}","compare_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/merges","archive_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/downloads","issues_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/issues{/number}","pulls_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/pulls{/number}","milestones_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/milestones{/number}","notifications_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/labels{/name}","releases_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/releases{/id}","deployments_url":"https://api.github.com/repos/gsalgadotoledo/ejs-locals/deployments","created_at":"2016-07-24T04:02:32Z","updated_at":"2016-07-24T04:02:33Z","pushed_at":"2016-07-24T04:04:35Z","git_url":"git://github.com/gsalgadotoledo/ejs-locals.git","ssh_url":"git@github.com:gsalgadotoledo/ejs-locals.git","clone_url":"https://github.com/gsalgadotoledo/ejs-locals.git","svn_url":"https://github.com/gsalgadotoledo/ejs-locals","homepage":"","size":216,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"RandomEtc:master","ref":"master","sha":"bb15388daefee6b0401169469c91e49e923bc631","user":{"login":"RandomEtc","id":39635,"avatar_url":"https://avatars.githubusercontent.com/u/39635?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomEtc","html_url":"https://github.com/RandomEtc","followers_url":"https://api.github.com/users/RandomEtc/followers","following_url":"https://api.github.com/users/RandomEtc/following{/other_user}","gists_url":"https://api.github.com/users/RandomEtc/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomEtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomEtc/subscriptions","organizations_url":"https://api.github.com/users/RandomEtc/orgs","repos_url":"https://api.github.com/users/RandomEtc/repos","events_url":"https://api.github.com/users/RandomEtc/events{/privacy}","received_events_url":"https://api.github.com/users/RandomEtc/received_events","type":"User","site_admin":false},"repo":{"id":4451830,"name":"ejs-locals","full_name":"RandomEtc/ejs-locals","owner":{"login":"RandomEtc","id":39635,"avatar_url":"https://avatars.githubusercontent.com/u/39635?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomEtc","html_url":"https://github.com/RandomEtc","followers_url":"https://api.github.com/users/RandomEtc/followers","following_url":"https://api.github.com/users/RandomEtc/following{/other_user}","gists_url":"https://api.github.com/users/RandomEtc/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomEtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomEtc/subscriptions","organizations_url":"https://api.github.com/users/RandomEtc/orgs","repos_url":"https://api.github.com/users/RandomEtc/repos","events_url":"https://api.github.com/users/RandomEtc/events{/privacy}","received_events_url":"https://api.github.com/users/RandomEtc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RandomEtc/ejs-locals","description":"Express 3.x layout, partial and block template functions for the EJS template engine.","fork":true,"url":"https://api.github.com/repos/RandomEtc/ejs-locals","forks_url":"https://api.github.com/repos/RandomEtc/ejs-locals/forks","keys_url":"https://api.github.com/repos/RandomEtc/ejs-locals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RandomEtc/ejs-locals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RandomEtc/ejs-locals/teams","hooks_url":"https://api.github.com/repos/RandomEtc/ejs-locals/hooks","issue_events_url":"https://api.github.com/repos/RandomEtc/ejs-locals/issues/events{/number}","events_url":"https://api.github.com/repos/RandomEtc/ejs-locals/events","assignees_url":"https://api.github.com/repos/RandomEtc/ejs-locals/assignees{/user}","branches_url":"https://api.github.com/repos/RandomEtc/ejs-locals/branches{/branch}","tags_url":"https://api.github.com/repos/RandomEtc/ejs-locals/tags","blobs_url":"https://api.github.com/repos/RandomEtc/ejs-locals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RandomEtc/ejs-locals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RandomEtc/ejs-locals/git/refs{/sha}","trees_url":"https://api.github.com/repos/RandomEtc/ejs-locals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RandomEtc/ejs-locals/statuses/{sha}","languages_url":"https://api.github.com/repos/RandomEtc/ejs-locals/languages","stargazers_url":"https://api.github.com/repos/RandomEtc/ejs-locals/stargazers","contributors_url":"https://api.github.com/repos/RandomEtc/ejs-locals/contributors","subscribers_url":"https://api.github.com/repos/RandomEtc/ejs-locals/subscribers","subscription_url":"https://api.github.com/repos/RandomEtc/ejs-locals/subscription","commits_url":"https://api.github.com/repos/RandomEtc/ejs-locals/commits{/sha}","git_commits_url":"https://api.github.com/repos/RandomEtc/ejs-locals/git/commits{/sha}","comments_url":"https://api.github.com/repos/RandomEtc/ejs-locals/comments{/number}","issue_comment_url":"https://api.github.com/repos/RandomEtc/ejs-locals/issues/comments{/number}","contents_url":"https://api.github.com/repos/RandomEtc/ejs-locals/contents/{+path}","compare_url":"https://api.github.com/repos/RandomEtc/ejs-locals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RandomEtc/ejs-locals/merges","archive_url":"https://api.github.com/repos/RandomEtc/ejs-locals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RandomEtc/ejs-locals/downloads","issues_url":"https://api.github.com/repos/RandomEtc/ejs-locals/issues{/number}","pulls_url":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls{/number}","milestones_url":"https://api.github.com/repos/RandomEtc/ejs-locals/milestones{/number}","notifications_url":"https://api.github.com/repos/RandomEtc/ejs-locals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RandomEtc/ejs-locals/labels{/name}","releases_url":"https://api.github.com/repos/RandomEtc/ejs-locals/releases{/id}","deployments_url":"https://api.github.com/repos/RandomEtc/ejs-locals/deployments","created_at":"2012-05-26T01:38:01Z","updated_at":"2016-07-24T04:02:26Z","pushed_at":"2015-11-24T09:29:09Z","git_url":"git://github.com/RandomEtc/ejs-locals.git","ssh_url":"git@github.com:RandomEtc/ejs-locals.git","clone_url":"https://github.com/RandomEtc/ejs-locals.git","svn_url":"https://github.com/RandomEtc/ejs-locals","homepage":"","size":216,"stargazers_count":255,"watchers_count":255,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":15,"forks":59,"open_issues":15,"watchers":255,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/49"},"html":{"href":"https://github.com/RandomEtc/ejs-locals/pull/49"},"issue":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/issues/49"},"comments":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/RandomEtc/ejs-locals/statuses/3bafa479d70c7771bb9f452ce1c6509812c9853a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"gsalgadotoledo"}}