I have a requirement for the following route setup:
/user/:user_id/feed- displays today's feed items/user/:user_id/feed/:date- displays the selected date's feed items
The second route doesn't need it's own controllers, views or templates, all it needs to do is change a property on the first route's controller.
I've tried using multiple dynamic segments in the route but that seems to require that all the segments are passed, even when using route globbing.
How can I have a route with an optional segment at the end or should I be handling this in a completely different way?