Sha256: ea12631a9748877e9a4752e40137cbe7df467faaf456d26ae96850fc2449199a
Contents?: true
Size: 225 Bytes
Versions: 13
Compression:
Stored size: 225 Bytes
Contents
require "sinatra/base" class MyModularApp < Sinatra::Default get "/" do "Hello World" end get "/redirect_absolute_url" do redirect URI.join(request.url, "foo").to_s end get "/foo" do "spam" end end
Version data entries
13 entries across 13 versions & 7 rubygems