{"action":"created","comment":{"url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/comments/27897970","id":27897970,"diff_hunk":"@@ -24,6 +24,7 @@ var ApplicationStore = createStore({\n \n         this.currentPageName = pageName;\n         this.currentPage = page;\n+        this.pageTitle = page.title;","path":"app/templates/stores/ApplicationStore.js","position":null,"original_position":4,"commit_id":"c4d55ac1feb0e203598df96f70e8b38d4e891071","original_commit_id":"25c55136d115b8e7121d5c139e93325b1b183289","user":{"login":"marcenuc","id":5284,"avatar_url":"https://avatars.githubusercontent.com/u/5284?v=3","gravatar_id":"","url":"https://api.github.com/users/marcenuc","html_url":"https://github.com/marcenuc","followers_url":"https://api.github.com/users/marcenuc/followers","following_url":"https://api.github.com/users/marcenuc/following{/other_user}","gists_url":"https://api.github.com/users/marcenuc/gists{/gist_id}","starred_url":"https://api.github.com/users/marcenuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcenuc/subscriptions","organizations_url":"https://api.github.com/users/marcenuc/orgs","repos_url":"https://api.github.com/users/marcenuc/repos","events_url":"https://api.github.com/users/marcenuc/events{/privacy}","received_events_url":"https://api.github.com/users/marcenuc/received_events","type":"User","site_admin":false},"body":"@lingyan, you can see the dispatch handler solution at #14.\r\n\r\nAbout the page.title being undefined, I have fixed the commit to set the title to the empty string.","created_at":"2015-04-07T17:05:29Z","updated_at":"2015-04-07T17:05:29Z","html_url":"https://github.com/yahoo/generator-fluxible/pull/13#discussion_r27897970","pull_request_url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/comments/27897970"},"html":{"href":"https://github.com/yahoo/generator-fluxible/pull/13#discussion_r27897970"},"pull_request":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13","id":32208903,"html_url":"https://github.com/yahoo/generator-fluxible/pull/13","diff_url":"https://github.com/yahoo/generator-fluxible/pull/13.diff","patch_url":"https://github.com/yahoo/generator-fluxible/pull/13.patch","issue_url":"https://api.github.com/repos/yahoo/generator-fluxible/issues/13","number":13,"state":"open","locked":false,"title":"Update pageTitle on route change","user":{"login":"marcenuc","id":5284,"avatar_url":"https://avatars.githubusercontent.com/u/5284?v=3","gravatar_id":"","url":"https://api.github.com/users/marcenuc","html_url":"https://github.com/marcenuc","followers_url":"https://api.github.com/users/marcenuc/followers","following_url":"https://api.github.com/users/marcenuc/following{/other_user}","gists_url":"https://api.github.com/users/marcenuc/gists{/gist_id}","starred_url":"https://api.github.com/users/marcenuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcenuc/subscriptions","organizations_url":"https://api.github.com/users/marcenuc/orgs","repos_url":"https://api.github.com/users/marcenuc/repos","events_url":"https://api.github.com/users/marcenuc/events{/privacy}","received_events_url":"https://api.github.com/users/marcenuc/received_events","type":"User","site_admin":false},"body":"When the route changes, the page title is not updated.\r\n\r\nI am not sure this is the best fix, because the loadPage() action dispatches UPDATE_PAGE_TITLE, then the same result can be obtained with an handler for this event.  However this is the shortest fix.","created_at":"2015-03-30T09:10:03Z","updated_at":"2015-04-07T17:05:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58f6c0aa7f40ca73aef1a613c95f22f0df76a616","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13/commits","review_comments_url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13/comments","review_comment_url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yahoo/generator-fluxible/issues/13/comments","statuses_url":"https://api.github.com/repos/yahoo/generator-fluxible/statuses/c4d55ac1feb0e203598df96f70e8b38d4e891071","head":{"label":"marcenuc:patch-2","ref":"patch-2","sha":"c4d55ac1feb0e203598df96f70e8b38d4e891071","user":{"login":"marcenuc","id":5284,"avatar_url":"https://avatars.githubusercontent.com/u/5284?v=3","gravatar_id":"","url":"https://api.github.com/users/marcenuc","html_url":"https://github.com/marcenuc","followers_url":"https://api.github.com/users/marcenuc/followers","following_url":"https://api.github.com/users/marcenuc/following{/other_user}","gists_url":"https://api.github.com/users/marcenuc/gists{/gist_id}","starred_url":"https://api.github.com/users/marcenuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcenuc/subscriptions","organizations_url":"https://api.github.com/users/marcenuc/orgs","repos_url":"https://api.github.com/users/marcenuc/repos","events_url":"https://api.github.com/users/marcenuc/events{/privacy}","received_events_url":"https://api.github.com/users/marcenuc/received_events","type":"User","site_admin":false},"repo":{"id":32387859,"name":"generator-fluxible","full_name":"marcenuc/generator-fluxible","owner":{"login":"marcenuc","id":5284,"avatar_url":"https://avatars.githubusercontent.com/u/5284?v=3","gravatar_id":"","url":"https://api.github.com/users/marcenuc","html_url":"https://github.com/marcenuc","followers_url":"https://api.github.com/users/marcenuc/followers","following_url":"https://api.github.com/users/marcenuc/following{/other_user}","gists_url":"https://api.github.com/users/marcenuc/gists{/gist_id}","starred_url":"https://api.github.com/users/marcenuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcenuc/subscriptions","organizations_url":"https://api.github.com/users/marcenuc/orgs","repos_url":"https://api.github.com/users/marcenuc/repos","events_url":"https://api.github.com/users/marcenuc/events{/privacy}","received_events_url":"https://api.github.com/users/marcenuc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcenuc/generator-fluxible","description":"Yeoman generator for Fluxible","fork":true,"url":"https://api.github.com/repos/marcenuc/generator-fluxible","forks_url":"https://api.github.com/repos/marcenuc/generator-fluxible/forks","keys_url":"https://api.github.com/repos/marcenuc/generator-fluxible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcenuc/generator-fluxible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcenuc/generator-fluxible/teams","hooks_url":"https://api.github.com/repos/marcenuc/generator-fluxible/hooks","issue_events_url":"https://api.github.com/repos/marcenuc/generator-fluxible/issues/events{/number}","events_url":"https://api.github.com/repos/marcenuc/generator-fluxible/events","assignees_url":"https://api.github.com/repos/marcenuc/generator-fluxible/assignees{/user}","branches_url":"https://api.github.com/repos/marcenuc/generator-fluxible/branches{/branch}","tags_url":"https://api.github.com/repos/marcenuc/generator-fluxible/tags","blobs_url":"https://api.github.com/repos/marcenuc/generator-fluxible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcenuc/generator-fluxible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcenuc/generator-fluxible/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcenuc/generator-fluxible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcenuc/generator-fluxible/statuses/{sha}","languages_url":"https://api.github.com/repos/marcenuc/generator-fluxible/languages","stargazers_url":"https://api.github.com/repos/marcenuc/generator-fluxible/stargazers","contributors_url":"https://api.github.com/repos/marcenuc/generator-fluxible/contributors","subscribers_url":"https://api.github.com/repos/marcenuc/generator-fluxible/subscribers","subscription_url":"https://api.github.com/repos/marcenuc/generator-fluxible/subscription","commits_url":"https://api.github.com/repos/marcenuc/generator-fluxible/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcenuc/generator-fluxible/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcenuc/generator-fluxible/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcenuc/generator-fluxible/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcenuc/generator-fluxible/contents/{+path}","compare_url":"https://api.github.com/repos/marcenuc/generator-fluxible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcenuc/generator-fluxible/merges","archive_url":"https://api.github.com/repos/marcenuc/generator-fluxible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcenuc/generator-fluxible/downloads","issues_url":"https://api.github.com/repos/marcenuc/generator-fluxible/issues{/number}","pulls_url":"https://api.github.com/repos/marcenuc/generator-fluxible/pulls{/number}","milestones_url":"https://api.github.com/repos/marcenuc/generator-fluxible/milestones{/number}","notifications_url":"https://api.github.com/repos/marcenuc/generator-fluxible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcenuc/generator-fluxible/labels{/name}","releases_url":"https://api.github.com/repos/marcenuc/generator-fluxible/releases{/id}","created_at":"2015-03-17T10:50:32Z","updated_at":"2015-03-17T10:50:34Z","pushed_at":"2015-04-07T17:00:09Z","git_url":"git://github.com/marcenuc/generator-fluxible.git","ssh_url":"git@github.com:marcenuc/generator-fluxible.git","clone_url":"https://github.com/marcenuc/generator-fluxible.git","svn_url":"https://github.com/marcenuc/generator-fluxible","homepage":"http://fluxible.io","size":136,"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":"yahoo:master","ref":"master","sha":"b3b9102d6920a8ef48500dcd5cdb37e59747cdb6","user":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"repo":{"id":29951480,"name":"generator-fluxible","full_name":"yahoo/generator-fluxible","owner":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yahoo/generator-fluxible","description":"Yeoman generator for Fluxible","fork":false,"url":"https://api.github.com/repos/yahoo/generator-fluxible","forks_url":"https://api.github.com/repos/yahoo/generator-fluxible/forks","keys_url":"https://api.github.com/repos/yahoo/generator-fluxible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yahoo/generator-fluxible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yahoo/generator-fluxible/teams","hooks_url":"https://api.github.com/repos/yahoo/generator-fluxible/hooks","issue_events_url":"https://api.github.com/repos/yahoo/generator-fluxible/issues/events{/number}","events_url":"https://api.github.com/repos/yahoo/generator-fluxible/events","assignees_url":"https://api.github.com/repos/yahoo/generator-fluxible/assignees{/user}","branches_url":"https://api.github.com/repos/yahoo/generator-fluxible/branches{/branch}","tags_url":"https://api.github.com/repos/yahoo/generator-fluxible/tags","blobs_url":"https://api.github.com/repos/yahoo/generator-fluxible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yahoo/generator-fluxible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yahoo/generator-fluxible/git/refs{/sha}","trees_url":"https://api.github.com/repos/yahoo/generator-fluxible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yahoo/generator-fluxible/statuses/{sha}","languages_url":"https://api.github.com/repos/yahoo/generator-fluxible/languages","stargazers_url":"https://api.github.com/repos/yahoo/generator-fluxible/stargazers","contributors_url":"https://api.github.com/repos/yahoo/generator-fluxible/contributors","subscribers_url":"https://api.github.com/repos/yahoo/generator-fluxible/subscribers","subscription_url":"https://api.github.com/repos/yahoo/generator-fluxible/subscription","commits_url":"https://api.github.com/repos/yahoo/generator-fluxible/commits{/sha}","git_commits_url":"https://api.github.com/repos/yahoo/generator-fluxible/git/commits{/sha}","comments_url":"https://api.github.com/repos/yahoo/generator-fluxible/comments{/number}","issue_comment_url":"https://api.github.com/repos/yahoo/generator-fluxible/issues/comments{/number}","contents_url":"https://api.github.com/repos/yahoo/generator-fluxible/contents/{+path}","compare_url":"https://api.github.com/repos/yahoo/generator-fluxible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yahoo/generator-fluxible/merges","archive_url":"https://api.github.com/repos/yahoo/generator-fluxible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yahoo/generator-fluxible/downloads","issues_url":"https://api.github.com/repos/yahoo/generator-fluxible/issues{/number}","pulls_url":"https://api.github.com/repos/yahoo/generator-fluxible/pulls{/number}","milestones_url":"https://api.github.com/repos/yahoo/generator-fluxible/milestones{/number}","notifications_url":"https://api.github.com/repos/yahoo/generator-fluxible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yahoo/generator-fluxible/labels{/name}","releases_url":"https://api.github.com/repos/yahoo/generator-fluxible/releases{/id}","created_at":"2015-01-28T05:00:14Z","updated_at":"2015-03-31T19:18:45Z","pushed_at":"2015-04-07T17:01:06Z","git_url":"git://github.com/yahoo/generator-fluxible.git","ssh_url":"git@github.com:yahoo/generator-fluxible.git","clone_url":"https://github.com/yahoo/generator-fluxible.git","svn_url":"https://github.com/yahoo/generator-fluxible","homepage":"http://fluxible.io","size":403,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13"},"html":{"href":"https://github.com/yahoo/generator-fluxible/pull/13"},"issue":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/issues/13"},"comments":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/yahoo/generator-fluxible/statuses/c4d55ac1feb0e203598df96f70e8b38d4e891071"}}}}