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
AltoRouter already provides optional parameters, but Timber doesn't support them because this router strips question marks. I would like to use optional parameters, and maybe it wouldn't be a bad idea to just provide access to the AltoRouter object?
Also, line 103 ($fullPath = is_readable($template);) returns true for files that exist, but may not be inside the theme directory... Maybe I can make a pull request to improve these two points?
AltoRouter already provides optional parameters, but Timber doesn't support them because this router strips question marks. I would like to use optional parameters, and maybe it wouldn't be a bad idea to just provide access to the AltoRouter object?
Something like
Routes::getRouter()->addRoutes([
['GET','/users/[i:id?]', function($params) {
etc...
})
The text was updated successfully, but these errors were encountered: