-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Sinatra::Namespace breaks route with named parameters ? #1409
Comments
It's almost certainly a bug. I'll investigate this problem soon. |
No worries, thanks for looking into it! 🥇 |
This is not sinatra issue, but mustermann issue. @scalp42 Could you confirm it? Maybe the following code can be used. gem 'mustermann', github: 'sinatra/mustermann', branch: 'fix-sinatra-concat' |
@namusyaka confirmed it's working! Thanks a lot for looking into it ✌️ |
@scalp42 Thanks! This bug could be fixed at the next mustermann release. sinatra/mustermann#87 |
@namusyaka @rkh any idea when a new mustermann version will be released with the fix? I'm assuming it should be safe to cut a new release? Thanks in advance! |
Mustermann 1.0.3 (2018-08-17) * Handle with_look_ahead on SafeRenderer. Fixes sinatra/sinatra#1409 @namusyaka * Fix EqualityMap#fetch to be compatible with the fallback Hash#fetch. Fixes #89 @eregon * Improve code base and documentation. @sonots, @iguchi1124
Hi folks,
Running into an issue upgrading to Sinatra 2.
This route works fine without
Sinatra::Namespace
:If I try to namespace the same route with
Sinatra::Namespace
:It won't start:
Here is the full trace: https://gist.github.com/scalp42/e627e470c6169e3f4be380cea327b697
Any ideas? 🤔
Thanks in advance for the help!
The text was updated successfully, but these errors were encountered: