Do you want to request a feature or report a bug?
bug
What is the current behavior?
App.absolute_url() doesn't apply subsitution on the provided values in arguments and only uses the default values.
You can find an example in https://github.com/fidalgo/padrino-absolute-url
This line should print:
Path is http://localhost/face/a2a/CA123/agent/008/answered
Also if you add the line:
assert_equal "/pt", @app.url(:index, lang: 'pt')
to https://github.com/padrino/padrino-framework/blob/master/padrino-core/test/test_routing.rb#L1245
I would expect the test to pass
What is the expected behavior?
See previous description
Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?
ruby '2.3.3'
'padrino', '0.13.3.3'
sinatra (1.4.7)
Fedora Linux 25
and I suspect it was working on padrino 0.10.6 (yeah a long long time ago)
Do you want to request a feature or report a bug?
bug
What is the current behavior?
App.absolute_url() doesn't apply subsitution on the provided values in arguments and only uses the default values.
You can find an example in https://github.com/fidalgo/padrino-absolute-url
This line should print:
Path is http://localhost/face/a2a/CA123/agent/008/answeredAlso if you add the line:
assert_equal "/pt", @app.url(:index, lang: 'pt')to https://github.com/padrino/padrino-framework/blob/master/padrino-core/test/test_routing.rb#L1245
I would expect the test to pass
What is the expected behavior?
See previous description
Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?
ruby '2.3.3'
'padrino', '0.13.3.3'
sinatra (1.4.7)
Fedora Linux 25
and I suspect it was working on padrino 0.10.6 (yeah a long long time ago)