We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var myRoutes = [{ id: 'route_with_parameter_in_path', path: '/some/path/{parameter}', defaults: {parameter: 1} }]; myRouter.generate('route_with_parameter_in_path'); // returns '/some/path'
при такой декларации ожидаемое поведение: /some/path/1
/some/path/1
А описанный способ генерации "пустого пути" больше ожидаем от такой декларации
var myRoutes = [{ id: 'route_with_parameter_in_path', path: '/some/path/{parameter?}' }];
@apsavin сможешь разъяснить?
The text was updated successfully, but these errors were encountered:
duplicates #6
Sorry, something went wrong.
Thanks @jifeon It seems that I need to write in README.md about it.
No branches or pull requests
при такой декларации ожидаемое поведение:
/some/path/1
А описанный способ генерации "пустого пути" больше ожидаем от такой декларации
@apsavin сможешь разъяснить?
The text was updated successfully, but these errors were encountered: