Bugfix: If you had a route like /path/@param_name, it wouldn't populate the url with Flight::getUrl()
Feature: If you have a longer route like /path/@param1/url/@param2 with an alias of 'myalias', and you are on a url such as /path/@param1/some-url, you can call Flight::getUrl('myalias', [ 'param2' => 'something') and because @param1 is already part of the executing URL, it will be auto populated.
Bugfix: Fixed a url issue with jsonp in the tests/server/
Several issues addressed
/path/@param_name
, it wouldn't populate the url withFlight::getUrl()
/path/@param1/url/@param2
with an alias of'myalias'
, and you are on a url such as/path/@param1/some-url
, you can callFlight::getUrl('myalias', [ 'param2' => 'something')
and because@param1
is already part of the executing URL, it will be auto populated.tests/server/