[go: up one dir, main page]

Skip to content

Allow the return value to be the output

It would make logical sense if when request was given only a path and no output, that it would automatically use the return value as output. Beware! This could become a security issue. So

get "/" do
  "hi"
end

should return hi