Is there a jQuery library out there that can take objects and return urls from them like Rails does?
$.commentPath({id:10}) // /coments/10
Anything? I've seen Sammy but it doesn't look like it's in there.
Is there a jQuery library out there that can take objects and return urls from them like Rails does?
$.commentPath({id:10}) // /coments/10
Anything? I've seen Sammy but it doesn't look like it's in there.