{"action":"closed","issue":{"url":"https://api.github.com/repos/reactjs/react-router/issues/3665","repository_url":"https://api.github.com/repos/reactjs/react-router","labels_url":"https://api.github.com/repos/reactjs/react-router/issues/3665/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router/issues/3665/comments","events_url":"https://api.github.com/repos/reactjs/react-router/issues/3665/events","html_url":"https://github.com/reactjs/react-router/issues/3665","id":167283865,"number":3665,"title":"Incorrect value of Action when access page from URL","user":{"login":"chigia001","id":10696932,"avatar_url":"https://avatars.githubusercontent.com/u/10696932?v=3","gravatar_id":"","url":"https://api.github.com/users/chigia001","html_url":"https://github.com/chigia001","followers_url":"https://api.github.com/users/chigia001/followers","following_url":"https://api.github.com/users/chigia001/following{/other_user}","gists_url":"https://api.github.com/users/chigia001/gists{/gist_id}","starred_url":"https://api.github.com/users/chigia001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chigia001/subscriptions","organizations_url":"https://api.github.com/users/chigia001/orgs","repos_url":"https://api.github.com/users/chigia001/repos","events_url":"https://api.github.com/users/chigia001/events{/privacy}","received_events_url":"https://api.github.com/users/chigia001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-25T05:11:02Z","updated_at":"2016-07-25T13:46:33Z","closed_at":"2016-07-25T13:46:33Z","body":"## Version\r\n2.5.2\r\n\r\n## Test Case\r\n```\r\nvar Router = ReactRouter.Router;\r\nvar Route = ReactRouter.Route;\r\n\r\nvar App = React.createClass({displayName: 'App',\r\n  render: function() {\r\n    return (\r\n      React.createElement(\"div\", null, \r\n        React.createElement(\"h1\", null, \"React Router Playground\"), \r\n        this.props.children\r\n      )\r\n    );\r\n  }\r\n});\r\n\r\nvar onEnter= function(nextState) {\r\n  console.log(nextState.location.action);\r\n};\r\n\r\nReactDOM.render((\r\n  React.createElement(Router, null, \r\n    React.createElement(Route, {path: \"/\", component: App, onEnter: onEnter})\r\n  )\r\n), document.getElementById('app'));\r\n```\r\n\r\n## Steps to reproduce\r\n\r\nAccess the route directly from URL\r\n\r\n## Expected Behavior\r\n\r\nAction should have value \"PUSH\"\r\n\r\n## Actual Behavior\r\n\r\nAction should have value \"POP\""}}
{"actor":{"display_login":"taion"}}