{"issue":{"milestone":null,"title":"use url_for","created_at":"2011-12-29T13:21:56Z","user":{"login":"memowe","id":25008,"url":"https://api.github.com/users/memowe","avatar_url":"https://secure.gravatar.com/avatar/8d82ea51de84bf5722a8da0ac7cd4a86?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8d82ea51de84bf5722a8da0ac7cd4a86"},"labels":[],"updated_at":"2011-12-30T13:06:00Z","state":"closed","id":2679371,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":"2011-12-30T11:17:34Z","html_url":"https://github.com/ivanvpenchev/mojolicious-db-tool/issues/1","body":"Hi Ivan! :)\r\n\r\nGreat work so far. I noticed you're using absolute links in your templates. I think the [`url_for`](http://mojolicio.us/perldoc/Mojolicious/Controller#url_for) helper would be a better choice. You can pass route names and parameters and get an url that works in any case. Don't forget to use the same mechanism in your redirects: [`redirect_to`](http://mojolicio.us/perldoc/Mojolicious/Controller#redirect_to)\r\n\r\nMirko","number":1,"url":"https://api.github.com/repos/ivanvpenchev/mojolicious-db-tool/issues/1","comments":5,"assignee":null},"comment":{"created_at":"2011-12-30T13:06:00Z","user":{"login":"ivanvpenchev","id":1038106,"url":"https://api.github.com/users/ivanvpenchev","avatar_url":"https://secure.gravatar.com/avatar/26e61e6aadcc5d14f94123b8ae80ac1d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"26e61e6aadcc5d14f94123b8ae80ac1d"},"updated_at":"2011-12-30T13:06:00Z","id":3313009,"body":"Hi, now I understand. I think I changed these.","url":"https://api.github.com/repos/ivanvpenchev/mojolicious-db-tool/issues/comments/3313009"},"action":"created"}