Answers for "undefined method `desc' for Sinatra::Application:Class"

0

undefined method `desc' for Sinatra::Application:Class

require 'sinatra'
set :prefix, '/foo'

get "#{settings.prefix}/bar" do
  request.path_info
end
Posted by: Guest on August-30-2021

Code answers related to "undefined method `desc' for Sinatra::Application:Class"

Browse Popular Code Answers by Language