{"action":"closed","number":257,"pull_request":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/257","id":42223069,"html_url":"https://github.com/nickel-org/nickel.rs/pull/257","diff_url":"https://github.com/nickel-org/nickel.rs/pull/257.diff","patch_url":"https://github.com/nickel-org/nickel.rs/pull/257.patch","issue_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/257","number":257,"state":"closed","locked":false,"title":"feat(response): allow templates without data","user":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"body":"This improves ergonomics for template handling for when you don't want to pass data to the template. It's implementation relies on the already available `render` method (which I renamed to `render_with_data`) and just passes `&()`.\r\n\r\n/cc @Ryman @SimonPersson ","created_at":"2015-08-12T10:03:58Z","updated_at":"2015-08-12T12:07:34Z","closed_at":"2015-08-12T12:07:34Z","merged_at":null,"merge_commit_sha":"8c7623089aa84be0038cd0ada99b0ce0c9d3240e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/257/commits","review_comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/257/comments","review_comment_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/257/comments","statuses_url":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/670bd05932a65695f231203a1557bf8feeb3bd64","head":{"label":"cburgdorf:render","ref":"render","sha":"670bd05932a65695f231203a1557bf8feeb3bd64","user":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"repo":{"id":40593527,"name":"nickel.rs","full_name":"cburgdorf/nickel.rs","owner":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cburgdorf/nickel.rs","description":"An expressjs inspired web framework for Rust","fork":true,"url":"https://api.github.com/repos/cburgdorf/nickel.rs","forks_url":"https://api.github.com/repos/cburgdorf/nickel.rs/forks","keys_url":"https://api.github.com/repos/cburgdorf/nickel.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cburgdorf/nickel.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cburgdorf/nickel.rs/teams","hooks_url":"https://api.github.com/repos/cburgdorf/nickel.rs/hooks","issue_events_url":"https://api.github.com/repos/cburgdorf/nickel.rs/issues/events{/number}","events_url":"https://api.github.com/repos/cburgdorf/nickel.rs/events","assignees_url":"https://api.github.com/repos/cburgdorf/nickel.rs/assignees{/user}","branches_url":"https://api.github.com/repos/cburgdorf/nickel.rs/branches{/branch}","tags_url":"https://api.github.com/repos/cburgdorf/nickel.rs/tags","blobs_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cburgdorf/nickel.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/cburgdorf/nickel.rs/languages","stargazers_url":"https://api.github.com/repos/cburgdorf/nickel.rs/stargazers","contributors_url":"https://api.github.com/repos/cburgdorf/nickel.rs/contributors","subscribers_url":"https://api.github.com/repos/cburgdorf/nickel.rs/subscribers","subscription_url":"https://api.github.com/repos/cburgdorf/nickel.rs/subscription","commits_url":"https://api.github.com/repos/cburgdorf/nickel.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cburgdorf/nickel.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cburgdorf/nickel.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cburgdorf/nickel.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cburgdorf/nickel.rs/contents/{+path}","compare_url":"https://api.github.com/repos/cburgdorf/nickel.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cburgdorf/nickel.rs/merges","archive_url":"https://api.github.com/repos/cburgdorf/nickel.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cburgdorf/nickel.rs/downloads","issues_url":"https://api.github.com/repos/cburgdorf/nickel.rs/issues{/number}","pulls_url":"https://api.github.com/repos/cburgdorf/nickel.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/cburgdorf/nickel.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/cburgdorf/nickel.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cburgdorf/nickel.rs/labels{/name}","releases_url":"https://api.github.com/repos/cburgdorf/nickel.rs/releases{/id}","created_at":"2015-08-12T09:55:14Z","updated_at":"2015-08-12T09:55:14Z","pushed_at":"2015-08-12T11:38:38Z","git_url":"git://github.com/cburgdorf/nickel.rs.git","ssh_url":"git@github.com:cburgdorf/nickel.rs.git","clone_url":"https://github.com/cburgdorf/nickel.rs.git","svn_url":"https://github.com/cburgdorf/nickel.rs","homepage":"http://nickel.rs","size":5806,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nickel-org:master","ref":"master","sha":"3fd622f4398327c7a978101e0320141150eb59de","user":{"login":"nickel-org","id":7941614,"avatar_url":"https://avatars.githubusercontent.com/u/7941614?v=3","gravatar_id":"","url":"https://api.github.com/users/nickel-org","html_url":"https://github.com/nickel-org","followers_url":"https://api.github.com/users/nickel-org/followers","following_url":"https://api.github.com/users/nickel-org/following{/other_user}","gists_url":"https://api.github.com/users/nickel-org/gists{/gist_id}","starred_url":"https://api.github.com/users/nickel-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickel-org/subscriptions","organizations_url":"https://api.github.com/users/nickel-org/orgs","repos_url":"https://api.github.com/users/nickel-org/repos","events_url":"https://api.github.com/users/nickel-org/events{/privacy}","received_events_url":"https://api.github.com/users/nickel-org/received_events","type":"Organization","site_admin":false},"repo":{"id":20462243,"name":"nickel.rs","full_name":"nickel-org/nickel.rs","owner":{"login":"nickel-org","id":7941614,"avatar_url":"https://avatars.githubusercontent.com/u/7941614?v=3","gravatar_id":"","url":"https://api.github.com/users/nickel-org","html_url":"https://github.com/nickel-org","followers_url":"https://api.github.com/users/nickel-org/followers","following_url":"https://api.github.com/users/nickel-org/following{/other_user}","gists_url":"https://api.github.com/users/nickel-org/gists{/gist_id}","starred_url":"https://api.github.com/users/nickel-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickel-org/subscriptions","organizations_url":"https://api.github.com/users/nickel-org/orgs","repos_url":"https://api.github.com/users/nickel-org/repos","events_url":"https://api.github.com/users/nickel-org/events{/privacy}","received_events_url":"https://api.github.com/users/nickel-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nickel-org/nickel.rs","description":"An expressjs inspired web framework for Rust","fork":false,"url":"https://api.github.com/repos/nickel-org/nickel.rs","forks_url":"https://api.github.com/repos/nickel-org/nickel.rs/forks","keys_url":"https://api.github.com/repos/nickel-org/nickel.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickel-org/nickel.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickel-org/nickel.rs/teams","hooks_url":"https://api.github.com/repos/nickel-org/nickel.rs/hooks","issue_events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/events{/number}","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/events","assignees_url":"https://api.github.com/repos/nickel-org/nickel.rs/assignees{/user}","branches_url":"https://api.github.com/repos/nickel-org/nickel.rs/branches{/branch}","tags_url":"https://api.github.com/repos/nickel-org/nickel.rs/tags","blobs_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/nickel-org/nickel.rs/languages","stargazers_url":"https://api.github.com/repos/nickel-org/nickel.rs/stargazers","contributors_url":"https://api.github.com/repos/nickel-org/nickel.rs/contributors","subscribers_url":"https://api.github.com/repos/nickel-org/nickel.rs/subscribers","subscription_url":"https://api.github.com/repos/nickel-org/nickel.rs/subscription","commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickel-org/nickel.rs/contents/{+path}","compare_url":"https://api.github.com/repos/nickel-org/nickel.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickel-org/nickel.rs/merges","archive_url":"https://api.github.com/repos/nickel-org/nickel.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickel-org/nickel.rs/downloads","issues_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues{/number}","pulls_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/nickel-org/nickel.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/nickel-org/nickel.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/labels{/name}","releases_url":"https://api.github.com/repos/nickel-org/nickel.rs/releases{/id}","created_at":"2014-06-03T22:36:19Z","updated_at":"2015-08-12T07:33:43Z","pushed_at":"2015-08-12T11:38:39Z","git_url":"git://github.com/nickel-org/nickel.rs.git","ssh_url":"git@github.com:nickel-org/nickel.rs.git","clone_url":"https://github.com/nickel-org/nickel.rs.git","svn_url":"https://github.com/nickel-org/nickel.rs","homepage":"http://nickel.rs","size":5806,"stargazers_count":1004,"watchers_count":1004,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":29,"forks":76,"open_issues":29,"watchers":1004,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/257"},"html":{"href":"https://github.com/nickel-org/nickel.rs/pull/257"},"issue":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/issues/257"},"comments":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/670bd05932a65695f231203a1557bf8feeb3bd64"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":8,"review_comments":0,"commits":1,"additions":17,"deletions":0,"changed_files":1}}