Hi all

I have the following route defined, for paging:

<route name="author.index" pattern="^/author/index(/{page:\d+})?$"
action="Author.Index">
                <defaults>
                    <default for="page">1</default>
                  </defaults>
</route>

I'd like to modify this to also include optional 'sort' and
'direction' parameters. Could you help me with the code? I'm not very
good with regex - I tried a few options but kept getting a 404 error
on accessing the page.

TIA,

Vikram

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to