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

15 lines
182 B
Ruby

require "sinatra"
class MySinatra < Sinatra::Base
get "/" do
"Hello World (Sinatra)"
end
get "/derp.html" do
"De doo"
end
end
map "/sinatra" do
run MySinatra
end