{"action":"created","comment":{"url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/comments/47584306","id":47584306,"diff_hunk":"@@ -149,11 +149,11 @@ function setPurchaseFlow(purchaseFlowService) {\n }\n \n // User Logged In?\n-resolveLoggedIn.$inject = ['User', '$window', 'flashService']\n-function resolveLoggedIn(User, $window, flashService) {\n+resolveLoggedIn.$inject = ['User', 'flashService']\n+function resolveLoggedIn(User, flashService) {\n   User.checkSession().then(function(hasSession) {\n     if (!hasSession) {\n-      $window.location.href = \"/login\"\n+      Turbolinks.visit(\"/login\")","path":"app/assets/javascripts/routes.js","position":11,"original_position":11,"commit_id":"3b39c4e49d2c20a3136bbb64c316c91d25b81cef","original_commit_id":"3b39c4e49d2c20a3136bbb64c316c91d25b81cef","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.<br>Missing semicolon.<br>'Turbolinks' is not defined.","created_at":"2015-12-15T01:04:55Z","updated_at":"2015-12-15T01:04:55Z","html_url":"https://github.com/Urbanstove/Urbanstove/pull/1#discussion_r47584306","pull_request_url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/comments/47584306"},"html":{"href":"https://github.com/Urbanstove/Urbanstove/pull/1#discussion_r47584306"},"pull_request":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1","id":53646505,"html_url":"https://github.com/Urbanstove/Urbanstove/pull/1","diff_url":"https://github.com/Urbanstove/Urbanstove/pull/1.diff","patch_url":"https://github.com/Urbanstove/Urbanstove/pull/1.patch","issue_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/1","number":1,"state":"open","locked":false,"title":"adds turbolinks to app","user":{"login":"eldrethlim","id":7710028,"avatar_url":"https://avatars.githubusercontent.com/u/7710028?v=3","gravatar_id":"","url":"https://api.github.com/users/eldrethlim","html_url":"https://github.com/eldrethlim","followers_url":"https://api.github.com/users/eldrethlim/followers","following_url":"https://api.github.com/users/eldrethlim/following{/other_user}","gists_url":"https://api.github.com/users/eldrethlim/gists{/gist_id}","starred_url":"https://api.github.com/users/eldrethlim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldrethlim/subscriptions","organizations_url":"https://api.github.com/users/eldrethlim/orgs","repos_url":"https://api.github.com/users/eldrethlim/repos","events_url":"https://api.github.com/users/eldrethlim/events{/privacy}","received_events_url":"https://api.github.com/users/eldrethlim/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-15T01:04:25Z","updated_at":"2015-12-15T01:04:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfd9252f559ba7fa6732991211abfe4e34fd69ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/1/comments","statuses_url":"https://api.github.com/repos/Urbanstove/Urbanstove/statuses/3b39c4e49d2c20a3136bbb64c316c91d25b81cef","head":{"label":"Urbanstove:junxian/turbolinks","ref":"junxian/turbolinks","sha":"3b39c4e49d2c20a3136bbb64c316c91d25b81cef","user":{"login":"Urbanstove","id":16199635,"avatar_url":"https://avatars.githubusercontent.com/u/16199635?v=3","gravatar_id":"","url":"https://api.github.com/users/Urbanstove","html_url":"https://github.com/Urbanstove","followers_url":"https://api.github.com/users/Urbanstove/followers","following_url":"https://api.github.com/users/Urbanstove/following{/other_user}","gists_url":"https://api.github.com/users/Urbanstove/gists{/gist_id}","starred_url":"https://api.github.com/users/Urbanstove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urbanstove/subscriptions","organizations_url":"https://api.github.com/users/Urbanstove/orgs","repos_url":"https://api.github.com/users/Urbanstove/repos","events_url":"https://api.github.com/users/Urbanstove/events{/privacy}","received_events_url":"https://api.github.com/users/Urbanstove/received_events","type":"Organization","site_admin":false},"repo":{"id":47589399,"name":"Urbanstove","full_name":"Urbanstove/Urbanstove","owner":{"login":"Urbanstove","id":16199635,"avatar_url":"https://avatars.githubusercontent.com/u/16199635?v=3","gravatar_id":"","url":"https://api.github.com/users/Urbanstove","html_url":"https://github.com/Urbanstove","followers_url":"https://api.github.com/users/Urbanstove/followers","following_url":"https://api.github.com/users/Urbanstove/following{/other_user}","gists_url":"https://api.github.com/users/Urbanstove/gists{/gist_id}","starred_url":"https://api.github.com/users/Urbanstove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urbanstove/subscriptions","organizations_url":"https://api.github.com/users/Urbanstove/orgs","repos_url":"https://api.github.com/users/Urbanstove/repos","events_url":"https://api.github.com/users/Urbanstove/events{/privacy}","received_events_url":"https://api.github.com/users/Urbanstove/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Urbanstove/Urbanstove","description":"","fork":false,"url":"https://api.github.com/repos/Urbanstove/Urbanstove","forks_url":"https://api.github.com/repos/Urbanstove/Urbanstove/forks","keys_url":"https://api.github.com/repos/Urbanstove/Urbanstove/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Urbanstove/Urbanstove/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Urbanstove/Urbanstove/teams","hooks_url":"https://api.github.com/repos/Urbanstove/Urbanstove/hooks","issue_events_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/events{/number}","events_url":"https://api.github.com/repos/Urbanstove/Urbanstove/events","assignees_url":"https://api.github.com/repos/Urbanstove/Urbanstove/assignees{/user}","branches_url":"https://api.github.com/repos/Urbanstove/Urbanstove/branches{/branch}","tags_url":"https://api.github.com/repos/Urbanstove/Urbanstove/tags","blobs_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/refs{/sha}","trees_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Urbanstove/Urbanstove/statuses/{sha}","languages_url":"https://api.github.com/repos/Urbanstove/Urbanstove/languages","stargazers_url":"https://api.github.com/repos/Urbanstove/Urbanstove/stargazers","contributors_url":"https://api.github.com/repos/Urbanstove/Urbanstove/contributors","subscribers_url":"https://api.github.com/repos/Urbanstove/Urbanstove/subscribers","subscription_url":"https://api.github.com/repos/Urbanstove/Urbanstove/subscription","commits_url":"https://api.github.com/repos/Urbanstove/Urbanstove/commits{/sha}","git_commits_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/commits{/sha}","comments_url":"https://api.github.com/repos/Urbanstove/Urbanstove/comments{/number}","issue_comment_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/comments{/number}","contents_url":"https://api.github.com/repos/Urbanstove/Urbanstove/contents/{+path}","compare_url":"https://api.github.com/repos/Urbanstove/Urbanstove/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Urbanstove/Urbanstove/merges","archive_url":"https://api.github.com/repos/Urbanstove/Urbanstove/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Urbanstove/Urbanstove/downloads","issues_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues{/number}","pulls_url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls{/number}","milestones_url":"https://api.github.com/repos/Urbanstove/Urbanstove/milestones{/number}","notifications_url":"https://api.github.com/repos/Urbanstove/Urbanstove/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Urbanstove/Urbanstove/labels{/name}","releases_url":"https://api.github.com/repos/Urbanstove/Urbanstove/releases{/id}","created_at":"2015-12-08T01:02:18Z","updated_at":"2015-12-08T01:03:44Z","pushed_at":"2015-12-15T01:04:26Z","git_url":"git://github.com/Urbanstove/Urbanstove.git","ssh_url":"git@github.com:Urbanstove/Urbanstove.git","clone_url":"https://github.com/Urbanstove/Urbanstove.git","svn_url":"https://github.com/Urbanstove/Urbanstove","homepage":null,"size":24401,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"Urbanstove:master","ref":"master","sha":"c36c0dc778112ae18989050b1071834927a00b8d","user":{"login":"Urbanstove","id":16199635,"avatar_url":"https://avatars.githubusercontent.com/u/16199635?v=3","gravatar_id":"","url":"https://api.github.com/users/Urbanstove","html_url":"https://github.com/Urbanstove","followers_url":"https://api.github.com/users/Urbanstove/followers","following_url":"https://api.github.com/users/Urbanstove/following{/other_user}","gists_url":"https://api.github.com/users/Urbanstove/gists{/gist_id}","starred_url":"https://api.github.com/users/Urbanstove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urbanstove/subscriptions","organizations_url":"https://api.github.com/users/Urbanstove/orgs","repos_url":"https://api.github.com/users/Urbanstove/repos","events_url":"https://api.github.com/users/Urbanstove/events{/privacy}","received_events_url":"https://api.github.com/users/Urbanstove/received_events","type":"Organization","site_admin":false},"repo":{"id":47589399,"name":"Urbanstove","full_name":"Urbanstove/Urbanstove","owner":{"login":"Urbanstove","id":16199635,"avatar_url":"https://avatars.githubusercontent.com/u/16199635?v=3","gravatar_id":"","url":"https://api.github.com/users/Urbanstove","html_url":"https://github.com/Urbanstove","followers_url":"https://api.github.com/users/Urbanstove/followers","following_url":"https://api.github.com/users/Urbanstove/following{/other_user}","gists_url":"https://api.github.com/users/Urbanstove/gists{/gist_id}","starred_url":"https://api.github.com/users/Urbanstove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urbanstove/subscriptions","organizations_url":"https://api.github.com/users/Urbanstove/orgs","repos_url":"https://api.github.com/users/Urbanstove/repos","events_url":"https://api.github.com/users/Urbanstove/events{/privacy}","received_events_url":"https://api.github.com/users/Urbanstove/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Urbanstove/Urbanstove","description":"","fork":false,"url":"https://api.github.com/repos/Urbanstove/Urbanstove","forks_url":"https://api.github.com/repos/Urbanstove/Urbanstove/forks","keys_url":"https://api.github.com/repos/Urbanstove/Urbanstove/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Urbanstove/Urbanstove/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Urbanstove/Urbanstove/teams","hooks_url":"https://api.github.com/repos/Urbanstove/Urbanstove/hooks","issue_events_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/events{/number}","events_url":"https://api.github.com/repos/Urbanstove/Urbanstove/events","assignees_url":"https://api.github.com/repos/Urbanstove/Urbanstove/assignees{/user}","branches_url":"https://api.github.com/repos/Urbanstove/Urbanstove/branches{/branch}","tags_url":"https://api.github.com/repos/Urbanstove/Urbanstove/tags","blobs_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/refs{/sha}","trees_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Urbanstove/Urbanstove/statuses/{sha}","languages_url":"https://api.github.com/repos/Urbanstove/Urbanstove/languages","stargazers_url":"https://api.github.com/repos/Urbanstove/Urbanstove/stargazers","contributors_url":"https://api.github.com/repos/Urbanstove/Urbanstove/contributors","subscribers_url":"https://api.github.com/repos/Urbanstove/Urbanstove/subscribers","subscription_url":"https://api.github.com/repos/Urbanstove/Urbanstove/subscription","commits_url":"https://api.github.com/repos/Urbanstove/Urbanstove/commits{/sha}","git_commits_url":"https://api.github.com/repos/Urbanstove/Urbanstove/git/commits{/sha}","comments_url":"https://api.github.com/repos/Urbanstove/Urbanstove/comments{/number}","issue_comment_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/comments{/number}","contents_url":"https://api.github.com/repos/Urbanstove/Urbanstove/contents/{+path}","compare_url":"https://api.github.com/repos/Urbanstove/Urbanstove/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Urbanstove/Urbanstove/merges","archive_url":"https://api.github.com/repos/Urbanstove/Urbanstove/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Urbanstove/Urbanstove/downloads","issues_url":"https://api.github.com/repos/Urbanstove/Urbanstove/issues{/number}","pulls_url":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls{/number}","milestones_url":"https://api.github.com/repos/Urbanstove/Urbanstove/milestones{/number}","notifications_url":"https://api.github.com/repos/Urbanstove/Urbanstove/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Urbanstove/Urbanstove/labels{/name}","releases_url":"https://api.github.com/repos/Urbanstove/Urbanstove/releases{/id}","created_at":"2015-12-08T01:02:18Z","updated_at":"2015-12-08T01:03:44Z","pushed_at":"2015-12-15T01:04:26Z","git_url":"git://github.com/Urbanstove/Urbanstove.git","ssh_url":"git@github.com:Urbanstove/Urbanstove.git","clone_url":"https://github.com/Urbanstove/Urbanstove.git","svn_url":"https://github.com/Urbanstove/Urbanstove","homepage":null,"size":24401,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/Urbanstove/Urbanstove/pulls/1"},"html":{"href":"https://github.com/Urbanstove/Urbanstove/pull/1"},"issue":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/1"},"comments":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Urbanstove/Urbanstove/statuses/3b39c4e49d2c20a3136bbb64c316c91d25b81cef"}}}}