clojurewerkz / route-one

Tiny Clojure library that generates HTTP resource routes (as in Ruby on Rails, Jersey, Django, Sinatra, Flask and similar)
94 stars 7 forks source link

Allow the path and url generating functions to take a single argument #16

Closed ray1729 closed 10 years ago

ray1729 commented 10 years ago

I quite often find myself wanting to call the ...-url and ...-path functions with a map, e.g. when a row is pulled from a database. This patch allows you to pass such a map as a single argument to these functions, while also preserving the old interface.

michaelklishin commented 10 years ago

:+1: