{"action":"created","issue":{"url":"https://api.github.com/repos/Patroklo/codeigniter-static-laravel-routes/issues/15","labels_url":"https://api.github.com/repos/Patroklo/codeigniter-static-laravel-routes/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Patroklo/codeigniter-static-laravel-routes/issues/15/comments","events_url":"https://api.github.com/repos/Patroklo/codeigniter-static-laravel-routes/issues/15/events","html_url":"https://github.com/Patroklo/codeigniter-static-laravel-routes/issues/15","id":113109406,"number":15,"title":"Generating url from routes","user":{"login":"afbora","id":3393422,"avatar_url":"https://avatars.githubusercontent.com/u/3393422?v=3","gravatar_id":"","url":"https://api.github.com/users/afbora","html_url":"https://github.com/afbora","followers_url":"https://api.github.com/users/afbora/followers","following_url":"https://api.github.com/users/afbora/following{/other_user}","gists_url":"https://api.github.com/users/afbora/gists{/gist_id}","starred_url":"https://api.github.com/users/afbora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afbora/subscriptions","organizations_url":"https://api.github.com/users/afbora/orgs","repos_url":"https://api.github.com/users/afbora/repos","events_url":"https://api.github.com/users/afbora/events{/privacy}","received_events_url":"https://api.github.com/users/afbora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-23T22:16:10Z","updated_at":"2015-10-29T09:59:24Z","closed_at":null,"body":"How can i generate url (reverse route) from routes?\r\n\r\nFor example:\r\n\r\n    echo Route::url('post', array('news', 47, 'hello-world')); // Output url: /news/47/hello-world/"},"comment":{"url":"https://api.github.com/repos/Patroklo/codeigniter-static-laravel-routes/issues/comments/152132721","html_url":"https://github.com/Patroklo/codeigniter-static-laravel-routes/issues/15#issuecomment-152132721","issue_url":"https://api.github.com/repos/Patroklo/codeigniter-static-laravel-routes/issues/15","id":152132721,"user":{"login":"Patroklo","id":1254017,"avatar_url":"https://avatars.githubusercontent.com/u/1254017?v=3","gravatar_id":"","url":"https://api.github.com/users/Patroklo","html_url":"https://github.com/Patroklo","followers_url":"https://api.github.com/users/Patroklo/followers","following_url":"https://api.github.com/users/Patroklo/following{/other_user}","gists_url":"https://api.github.com/users/Patroklo/gists{/gist_id}","starred_url":"https://api.github.com/users/Patroklo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patroklo/subscriptions","organizations_url":"https://api.github.com/users/Patroklo/orgs","repos_url":"https://api.github.com/users/Patroklo/repos","events_url":"https://api.github.com/users/Patroklo/events{/privacy}","received_events_url":"https://api.github.com/users/Patroklo/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T09:59:24Z","updated_at":"2015-10-29T09:59:24Z","body":"Maybe you'll find useful the named routes:\r\n\r\nhttps://github.com/Patroklo/codeigniter-static-laravel-routes#named-routes\r\n\r\nThey do more or less the same thing, also you don't have to worry about storing the `$url` variable from the location where the Route library it's used and where you need to use it. Also they support parameters like the ones you are using in the expected function. \r\n\r\nThat would be what you need?"}}