rango icon indicating copy to clipboard operation
rango copied to clipboard

Arguments for url helper

Open botanicus opened this issue 15 years ago • 3 comments

url(:post, @post, format: "foo")
    - @post ... /post/:slug => @post.slug
    - @post ... /post/:id => @post.id

botanicus avatar Sep 28 '09 15:09 botanicus

The interface has to be the same for all the routers

botanicus avatar Nov 22 '09 21:11 botanicus

It should be able to works with namespaces:

url("admin:post", @post)

or work with current class or something

botanicus avatar Nov 27 '09 20:11 botanicus

Bonus if it works as url(@post) if it's a resource see usher issue

reactormonk avatar Dec 11 '09 01:12 reactormonk