{"action":"created","comment":{"url":"https://api.github.com/repos/Solutron/flask-by-example/pulls/comments/28655345","id":28655345,"diff_hunk":"@@ -33,24 +35,19 @@\n     assets.register(name, bundle)\n \n \n-@app.route('/files/<path:filename>')\n-@app.route('/fonts/<path:filename>')\n-@app.route('/images/<path:filename>')\n-@app.route('/js/<path:filename>')\n-def serve_static(filename):\n-    \"\"\" Serve up images  \"\"\"\n-    dir = request.path[1:].split('/')[0]\n-    static_path = os.path.join(app.static_folder, dir)\n-    return send_from_directory(static_path, filename)\n-\n-\n @app.route('/')\n def home():\n-    \"\"\" Home Page Render \"\"\"\n-    return render_template(\"home.html\")\n+    \"\"\" Render Home Page \"\"\"\n+    return render_template('home.html')\n+\n+\n+@app.route('/contact')","path":"app.py","position":32,"original_position":32,"commit_id":"1b7abdb1a8153bd73499a2acec6c9a86b75aacdc","original_commit_id":"1b7abdb1a8153bd73499a2acec6c9a86b75aacdc","user":{"login":"Solutron","id":8084550,"avatar_url":"https://avatars.githubusercontent.com/u/8084550?v=3","gravatar_id":"","url":"https://api.github.com/users/Solutron","html_url":"https://github.com/Solutron","followers_url":"https://api.github.com/users/Solutron/followers","following_url":"https://api.github.com/users/Solutron/following{/other_user}","gists_url":"https://api.github.com/users/Solutron/gists{/gist_id}","starred_url":"https://api.github.com/users/Solutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solutron/subscriptions","organizations_url":"https://api.github.com/users/Solutron/orgs","repos_url":"https://api.github.com/users/Solutron/repos","events_url":"https://api.github.com/users/Solutron/events{/privacy}","received_events_url":"https://api.github.com/users/Solutron/received_events","type":"User","site_admin":false},"body":"This is the function that will also render the form later","created_at":"2015-04-19T18:31:55Z","updated_at":"2015-04-19T18:31:55Z","html_url":"https://github.com/Solutron/flask-by-example/pull/9#discussion_r28655345","pull_request_url":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Solutron/flask-by-example/pulls/comments/28655345"},"html":{"href":"https://github.com/Solutron/flask-by-example/pull/9#discussion_r28655345"},"pull_request":{"href":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9","id":33623348,"html_url":"https://github.com/Solutron/flask-by-example/pull/9","diff_url":"https://github.com/Solutron/flask-by-example/pull/9.diff","patch_url":"https://github.com/Solutron/flask-by-example/pull/9.patch","issue_url":"https://api.github.com/repos/Solutron/flask-by-example/issues/9","number":9,"state":"open","locked":false,"title":"Added link from home page to contact page. Removed doubly referenced pat...","user":{"login":"Solutron","id":8084550,"avatar_url":"https://avatars.githubusercontent.com/u/8084550?v=3","gravatar_id":"","url":"https://api.github.com/users/Solutron","html_url":"https://github.com/Solutron","followers_url":"https://api.github.com/users/Solutron/followers","following_url":"https://api.github.com/users/Solutron/following{/other_user}","gists_url":"https://api.github.com/users/Solutron/gists{/gist_id}","starred_url":"https://api.github.com/users/Solutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solutron/subscriptions","organizations_url":"https://api.github.com/users/Solutron/orgs","repos_url":"https://api.github.com/users/Solutron/repos","events_url":"https://api.github.com/users/Solutron/events{/privacy}","received_events_url":"https://api.github.com/users/Solutron/received_events","type":"User","site_admin":false},"body":"...hs that were messing up css / js rendering for templates.","created_at":"2015-04-19T18:29:53Z","updated_at":"2015-04-19T18:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b4acf7e530726d8ed32a602f390dde69b4592be","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Solutron/flask-by-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Solutron/flask-by-example/issues/9/comments","statuses_url":"https://api.github.com/repos/Solutron/flask-by-example/statuses/1b7abdb1a8153bd73499a2acec6c9a86b75aacdc","head":{"label":"Solutron:contact_template_rendering","ref":"contact_template_rendering","sha":"1b7abdb1a8153bd73499a2acec6c9a86b75aacdc","user":{"login":"Solutron","id":8084550,"avatar_url":"https://avatars.githubusercontent.com/u/8084550?v=3","gravatar_id":"","url":"https://api.github.com/users/Solutron","html_url":"https://github.com/Solutron","followers_url":"https://api.github.com/users/Solutron/followers","following_url":"https://api.github.com/users/Solutron/following{/other_user}","gists_url":"https://api.github.com/users/Solutron/gists{/gist_id}","starred_url":"https://api.github.com/users/Solutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solutron/subscriptions","organizations_url":"https://api.github.com/users/Solutron/orgs","repos_url":"https://api.github.com/users/Solutron/repos","events_url":"https://api.github.com/users/Solutron/events{/privacy}","received_events_url":"https://api.github.com/users/Solutron/received_events","type":"User","site_admin":false},"repo":{"id":33792931,"name":"flask-by-example","full_name":"Solutron/flask-by-example","owner":{"login":"Solutron","id":8084550,"avatar_url":"https://avatars.githubusercontent.com/u/8084550?v=3","gravatar_id":"","url":"https://api.github.com/users/Solutron","html_url":"https://github.com/Solutron","followers_url":"https://api.github.com/users/Solutron/followers","following_url":"https://api.github.com/users/Solutron/following{/other_user}","gists_url":"https://api.github.com/users/Solutron/gists{/gist_id}","starred_url":"https://api.github.com/users/Solutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solutron/subscriptions","organizations_url":"https://api.github.com/users/Solutron/orgs","repos_url":"https://api.github.com/users/Solutron/repos","events_url":"https://api.github.com/users/Solutron/events{/privacy}","received_events_url":"https://api.github.com/users/Solutron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Solutron/flask-by-example","description":"","fork":false,"url":"https://api.github.com/repos/Solutron/flask-by-example","forks_url":"https://api.github.com/repos/Solutron/flask-by-example/forks","keys_url":"https://api.github.com/repos/Solutron/flask-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Solutron/flask-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Solutron/flask-by-example/teams","hooks_url":"https://api.github.com/repos/Solutron/flask-by-example/hooks","issue_events_url":"https://api.github.com/repos/Solutron/flask-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/Solutron/flask-by-example/events","assignees_url":"https://api.github.com/repos/Solutron/flask-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/Solutron/flask-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/Solutron/flask-by-example/tags","blobs_url":"https://api.github.com/repos/Solutron/flask-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Solutron/flask-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Solutron/flask-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/Solutron/flask-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Solutron/flask-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/Solutron/flask-by-example/languages","stargazers_url":"https://api.github.com/repos/Solutron/flask-by-example/stargazers","contributors_url":"https://api.github.com/repos/Solutron/flask-by-example/contributors","subscribers_url":"https://api.github.com/repos/Solutron/flask-by-example/subscribers","subscription_url":"https://api.github.com/repos/Solutron/flask-by-example/subscription","commits_url":"https://api.github.com/repos/Solutron/flask-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/Solutron/flask-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/Solutron/flask-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/Solutron/flask-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/Solutron/flask-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/Solutron/flask-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Solutron/flask-by-example/merges","archive_url":"https://api.github.com/repos/Solutron/flask-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Solutron/flask-by-example/downloads","issues_url":"https://api.github.com/repos/Solutron/flask-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/Solutron/flask-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/Solutron/flask-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/Solutron/flask-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Solutron/flask-by-example/labels{/name}","releases_url":"https://api.github.com/repos/Solutron/flask-by-example/releases{/id}","created_at":"2015-04-11T21:19:46Z","updated_at":"2015-04-18T18:04:53Z","pushed_at":"2015-04-19T18:29:53Z","git_url":"git://github.com/Solutron/flask-by-example.git","ssh_url":"git@github.com:Solutron/flask-by-example.git","clone_url":"https://github.com/Solutron/flask-by-example.git","svn_url":"https://github.com/Solutron/flask-by-example","homepage":null,"size":1436,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Solutron:master","ref":"master","sha":"17a3abb012d0cb0f06e5ded9512c84e5ef73101a","user":{"login":"Solutron","id":8084550,"avatar_url":"https://avatars.githubusercontent.com/u/8084550?v=3","gravatar_id":"","url":"https://api.github.com/users/Solutron","html_url":"https://github.com/Solutron","followers_url":"https://api.github.com/users/Solutron/followers","following_url":"https://api.github.com/users/Solutron/following{/other_user}","gists_url":"https://api.github.com/users/Solutron/gists{/gist_id}","starred_url":"https://api.github.com/users/Solutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solutron/subscriptions","organizations_url":"https://api.github.com/users/Solutron/orgs","repos_url":"https://api.github.com/users/Solutron/repos","events_url":"https://api.github.com/users/Solutron/events{/privacy}","received_events_url":"https://api.github.com/users/Solutron/received_events","type":"User","site_admin":false},"repo":{"id":33792931,"name":"flask-by-example","full_name":"Solutron/flask-by-example","owner":{"login":"Solutron","id":8084550,"avatar_url":"https://avatars.githubusercontent.com/u/8084550?v=3","gravatar_id":"","url":"https://api.github.com/users/Solutron","html_url":"https://github.com/Solutron","followers_url":"https://api.github.com/users/Solutron/followers","following_url":"https://api.github.com/users/Solutron/following{/other_user}","gists_url":"https://api.github.com/users/Solutron/gists{/gist_id}","starred_url":"https://api.github.com/users/Solutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solutron/subscriptions","organizations_url":"https://api.github.com/users/Solutron/orgs","repos_url":"https://api.github.com/users/Solutron/repos","events_url":"https://api.github.com/users/Solutron/events{/privacy}","received_events_url":"https://api.github.com/users/Solutron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Solutron/flask-by-example","description":"","fork":false,"url":"https://api.github.com/repos/Solutron/flask-by-example","forks_url":"https://api.github.com/repos/Solutron/flask-by-example/forks","keys_url":"https://api.github.com/repos/Solutron/flask-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Solutron/flask-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Solutron/flask-by-example/teams","hooks_url":"https://api.github.com/repos/Solutron/flask-by-example/hooks","issue_events_url":"https://api.github.com/repos/Solutron/flask-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/Solutron/flask-by-example/events","assignees_url":"https://api.github.com/repos/Solutron/flask-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/Solutron/flask-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/Solutron/flask-by-example/tags","blobs_url":"https://api.github.com/repos/Solutron/flask-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Solutron/flask-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Solutron/flask-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/Solutron/flask-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Solutron/flask-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/Solutron/flask-by-example/languages","stargazers_url":"https://api.github.com/repos/Solutron/flask-by-example/stargazers","contributors_url":"https://api.github.com/repos/Solutron/flask-by-example/contributors","subscribers_url":"https://api.github.com/repos/Solutron/flask-by-example/subscribers","subscription_url":"https://api.github.com/repos/Solutron/flask-by-example/subscription","commits_url":"https://api.github.com/repos/Solutron/flask-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/Solutron/flask-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/Solutron/flask-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/Solutron/flask-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/Solutron/flask-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/Solutron/flask-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Solutron/flask-by-example/merges","archive_url":"https://api.github.com/repos/Solutron/flask-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Solutron/flask-by-example/downloads","issues_url":"https://api.github.com/repos/Solutron/flask-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/Solutron/flask-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/Solutron/flask-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/Solutron/flask-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Solutron/flask-by-example/labels{/name}","releases_url":"https://api.github.com/repos/Solutron/flask-by-example/releases{/id}","created_at":"2015-04-11T21:19:46Z","updated_at":"2015-04-18T18:04:53Z","pushed_at":"2015-04-19T18:29:53Z","git_url":"git://github.com/Solutron/flask-by-example.git","ssh_url":"git@github.com:Solutron/flask-by-example.git","clone_url":"https://github.com/Solutron/flask-by-example.git","svn_url":"https://github.com/Solutron/flask-by-example","homepage":null,"size":1436,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9"},"html":{"href":"https://github.com/Solutron/flask-by-example/pull/9"},"issue":{"href":"https://api.github.com/repos/Solutron/flask-by-example/issues/9"},"comments":{"href":"https://api.github.com/repos/Solutron/flask-by-example/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Solutron/flask-by-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Solutron/flask-by-example/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Solutron/flask-by-example/statuses/1b7abdb1a8153bd73499a2acec6c9a86b75aacdc"}}}}