ziggy icon indicating copy to clipboard operation
ziggy copied to clipboard

Update route() method to allow passing an array of route names.

Open DanielCoulbourne opened this issue 9 years ago • 4 comments

Eventually we will want to support groups and namespaces more thoroughly.

DanielCoulbourne avatar Aug 04 '17 18:08 DanielCoulbourne

Can you give an example?

mattstauffer avatar Aug 05 '17 02:08 mattstauffer

Ideally I'd like route(['posts.index', 'comments.index']) to return ['posts', 'comments'] but I haven't fully worked out how I want to handle arguments for the individual routes if they require them. This is theoretical for now, but I think solving this problem will allow for supporting full resources in the future.

DanielCoulbourne avatar Aug 06 '17 20:08 DanielCoulbourne

Hm. That feels like not the way I would expect it to work? But I guess I don't know what your plans are. :)

mattstauffer avatar Aug 07 '17 13:08 mattstauffer

I've decided against this. Closing.

DanielCoulbourne avatar Aug 09 '17 04:08 DanielCoulbourne