diff --git a/app.rb b/app.rb index ae1a360..f437352 100644 --- a/app.rb +++ b/app.rb @@ -3,9 +3,10 @@ require 'securerandom' require 'json' class App < Roda + plugin :render, escape: true route do |r| r.root do - "this is the root" + view :home end r.get String do | url_code | @@ -13,7 +14,7 @@ class App < Roda end r.post "create" do - + view :create end end end