You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I wanted to replace the slug parameter with the double wildcard character for more complex slugs I thought I would get around this by replacing it with a regular expression. This works well but I have found a small issue regarding parameters which I will post under a separate issue sometime, although I got around the issue with some code in the controller it's a bit messy. I do still think optional parameters will be a good idea for some developers and on other projects, May I suggest the following syntax?
I apologise for asking this here but I didn't know where else to ask.
Can route patterns have an optional parameter for example a page number encoded as apart of the route?
For example to merge these two dispatches ..
If so please can an example be added to the documentation regarding route patterns and parameters?
The text was updated successfully, but these errors were encountered: