From 08e71721514a8fad599832c4846b1cfb45b0f12c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 3 Oct 2015 12:35:48 +0200 Subject: Transform to a Sinatra app --- registration.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 registration.rb (limited to 'registration.rb') diff --git a/registration.rb b/registration.rb new file mode 100644 index 0000000..de9ec75 --- /dev/null +++ b/registration.rb @@ -0,0 +1,10 @@ +require 'sinatra/base' + +class RegistrationApp < Sinatra::Base + + get '/' do + erb :index + end + + run! if app_file == $0 +end -- cgit v1.2.3