Applying a more 'Ruby' style to post_url.rb