Is there a way to make a mathing routing command with an optional
parameter?
match “blah/:param1” => “balh#show”
if I want param1 to be optional, how would i go about doing that?
it seems like you can make another match line without the param1 part
as below but was hoping to find another way to do it.
match “blah” => “blah#show”