Typo and devise and some possible error, thank you!
it stores the part of the path that has yet to be routed,
I consider it is hard to understand what it means for a foreigner.
if we can use a more simple official word for describe this?
e.g. that has not yet be routed
Using this information and the the requests's path,
duplicate the
, i think it fixed by PR #8, but still not merged yet.
The example for Boolean matchers error
require "lucid_http"
GET "/"
body # => "Also Allowed "
I can't reproduce it with roda 3.44, i get result is: Also Allowed /
Following code is not run in Custom hash matchers
require 'roda'
class App < Roda
plugin :hash_matcher
hash_matcher(:secret) do |v|
if params['secret'] == v
request.captures << params['key'] # undefined local variable or method `request' for #<App::RodaRequest GET /hello>
# i guess it should be "captures << params['secret']"
end
end
route do |r|
r.on(secret: "Um9kYQ==\n") do |key|
end
end
end
Thank you.
Edited by Billy