Replace url_for method with url method from Sinatra