I have a route which looks like this:
/user/view[/{ot}[/sort/{sort}[/sortdir/{sortdir}[/page/{page}]]]]
So using this route, if I want to implement pagination, I have to supply a sort and sortdir parameter.
Is there any way to define a route which accepts
sort
sortdir
page
but have any of these parameters be optional so that (for example) I can call
/user/view/page/3
and not worry about sort and sortdir?