-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Hi,
in previous version, was able to write this route:
$router->add('/ajax/{a:action}{?:params}', 'GET', function ($action) ..
and Router match
/ajax/getModalContent/?ajax=true&action=getModalContent ...
/ajax/getModalContent?ajax=true&action=getModalContent ...
//ajax/getModalContent/?ajax=true&action=getModalContent ...
There was no problem in slashes, in v2 i have
Page not found
Is it bug or its not allowed in new version?
Do i have to change urls in router to '/ajax/{a:action}/{?:params}' so every arguments will be separated by / ?