Skip to content
New issue

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

Router - can i configure such that routing is matched with or without ending "/". #1317

Open
mmarvb8h opened this issue Jun 12, 2023 · 1 comment

Comments

@mmarvb8h
Copy link

Starting first Hanami app... Question is router.

I'm seeing that .../test is not the same as .../test/ => handling of trailing slash.

Is there a way i can configure such that these are considered the same? Or do i have to make dup routing entries with and without ending "/".

~thx Marvin Foster
mmarvb7@gmail.com or marvinfoster@finsync.com

@Drowze
Copy link
Contributor

Drowze commented Aug 1, 2023

Possibly duplicate of hanami/router#256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants