1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

urls are ready

urls are working
This commit is contained in:
blake.mizerany@gmail.com 2007-09-17 18:35:47 +00:00
parent 33fea0f5ac
commit db8d6863b3
8 changed files with 112 additions and 10 deletions

View file

@ -1,6 +1,6 @@
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../../lib/'
require 'sinatra'
get '/test' do
'test'
get '/test/:name' do
params[:name]
end