From a97356418336c04e2c93a5107ee9ec2f2d07f5d5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 7 Dec 2015 23:52:37 -0500 Subject: Render index template Instead of responding with "Hello World", render a full ERB template so we can display HTML with form fields. --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.rb') diff --git a/app.rb b/app.rb index 6f61f5b..8e51fee 100644 --- a/app.rb +++ b/app.rb @@ -3,6 +3,6 @@ require 'sinatra/base' class App < Sinatra::Base get '/' do - 'Hello World' + erb :index end end -- cgit v1.2.3