simplePHPRouter icon indicating copy to clipboard operation
simplePHPRouter copied to clipboard

Redirect to another route

Open arahn opened this issue 2 years ago • 1 comments

Hi! What if I need to wrap one route into another? Let's say based on the request?

Is that possible without moving the implied code to a function and call it from the appropiate routes?

arahn avatar Aug 09 '23 19:08 arahn

Hi,

sorry for the late answere. Holydays...

I dont understand the problem. Do you have a code example?

steampixel avatar Aug 21 '23 12:08 steampixel