aboutsummaryrefslogtreecommitdiffstats
path: root/app.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app.rb')
-rw-r--r--app.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/app.rb b/app.rb
index baa9640..6f61f5b 100644
--- a/app.rb
+++ b/app.rb
@@ -1,6 +1,8 @@
-require 'sinatra'
+require 'sinatra/base'
-get '/' do
- 'Hello World'
+class App < Sinatra::Base
+ get '/' do
+ 'Hello World'
+ end
end