Skip to content

Configuration

collection()

collection() — returns struct

Available in: mapper Category: Routing

A collection route doesn’t require an id because it acts on a collection of objects. photos/search is an example of a collection route, because it acts on (and displays) a collection of objects.