From: lowpass <zijn.digi...@gmail.com>
Date: Wed, 7 Nov 2012 13:40:35 -0500
Local: Wed, Nov 7 2012 1:40 pm
Subject: Re: Routes with optional parameters
I think changing the regexp from + to ? in the first route would do it.
Router::connect(
On Wed, Nov 7, 2012 at 11:00 AM, Jeremy Burns
<jeremybu...@classoutfit.com> wrote:
> How do I set up a route that sometimes has a parameter and sometimes > doesn't? For example, I have the following two routes but I'm sure they > could be combined into one? > Router::connect(
> Router::connect(
> --
> ---
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||