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:
		
							parent
							
								
									33fea0f5ac
								
							
						
					
					
						commit
						db8d6863b3
					
				
					 8 changed files with 112 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../../lib/'
 | 
			
		||||
require 'sinatra'
 | 
			
		||||
 | 
			
		||||
get '/test' do
 | 
			
		||||
  'test'
 | 
			
		||||
get '/test/:name' do
 | 
			
		||||
  params[:name]
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue