Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'sinatra'
- # Main route - this is the form where we take the input
- get '/' do
- # params[:yourname] will be replaced with the value entered for
- # the input with name 'yourname'
- <<-HTML
- Hello #{params[:yourname]}
- HTML
- end
Add Comment
Please, Sign In to add comment