Ruby Building Web Apps with Sinatra ERB Templates URL Parameters

Caroline Wainaina
Caroline Wainaina
3,673 Points

In the get route for the "/greet/:name" path, respond with a string reading "Hello" followed by the contents of the name

I don't know what I am missing.

hello.rb
require "sinatra"

get "/greet/:name" do
  "Hello" + params[:name]
end
Caroline Wainaina
Caroline Wainaina
3,673 Points

I figured it out and edited above