Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.222 kB
require "bundler/setup"
require "sinatra/base"
require "cgi"
class Echo < Sinatra::Base
get "/" do
erb :form, locals: {message: nil}
end
post "/" do
erb :form, locals: {message: params[:message]}
end
end
Jump to Line
Something went wrong with that request. Please try again.