stevenbristol/less-js-routes — Issue #3: Passing blank format generates wrong path
Author: igagnidz
Created: 2011-10-12 16:43:37+00:00
State: open

Passing blank string as a format causes path to have trailing "dot" in the end. I think your format check function should check for blank string as well as checking for undefined.

for example:
edit_user_path(2,'') //=> /users/2.

Thanks