middleman/middleman-core/fixtures/sinatra-app/config.rb

12 lines
141 B
Ruby

require "sinatra"
class MySinatra < Sinatra::Base
get "/" do
"Hello World (Sinatra)"
end
end
map "/sinatra" do
run MySinatra
end