{"action":"opened","issue":{"url":"https://api.github.com/repos/framework7io/Framework7/issues/1944","repository_url":"https://api.github.com/repos/framework7io/Framework7","labels_url":"https://api.github.com/repos/framework7io/Framework7/issues/1944/labels{/name}","comments_url":"https://api.github.com/repos/framework7io/Framework7/issues/1944/comments","events_url":"https://api.github.com/repos/framework7io/Framework7/issues/1944/events","html_url":"https://github.com/framework7io/Framework7/issues/1944","id":271287794,"number":1944,"title":"[v2] path: '/page-name/:id/'  pass the param id inside the async function before request? ","user":{"login":"rapgithub","id":11996194,"avatar_url":"https://avatars1.githubusercontent.com/u/11996194?v=4","gravatar_id":"","url":"https://api.github.com/users/rapgithub","html_url":"https://github.com/rapgithub","followers_url":"https://api.github.com/users/rapgithub/followers","following_url":"https://api.github.com/users/rapgithub/following{/other_user}","gists_url":"https://api.github.com/users/rapgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/rapgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapgithub/subscriptions","organizations_url":"https://api.github.com/users/rapgithub/orgs","repos_url":"https://api.github.com/users/rapgithub/repos","events_url":"https://api.github.com/users/rapgithub/events{/privacy}","received_events_url":"https://api.github.com/users/rapgithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-05T15:31:17Z","updated_at":"2017-11-05T15:31:17Z","closed_at":null,"author_association":"NONE","body":"in my case i need to get the :id before the ajax request because every link is linked to a specific ajax request call id....\r\n\r\nis there a way to get the param :id value before ajax request call?\r\n\r\nI tried to look for this value inside the router app and view and is not there only i can get with this.url the url without params..\r\n\r\nmy code\r\n\r\n path: '/page-name/:id/',\r\n     async(to, from, resolve, reject) {\r\n\r\n            console.log(this.params); // I need here to get the params id of the url above.\r\n          id = this.params.id // this is empty..\r\n\r\n            app.request( {\r\n                url: 'script-name?'+id, \r\n                 ...\r\n\r\nany solution to pass the url params before ajax request?"}}
{"actor":{"display_login":"rapgithub"}}