From 7c18494a38f3d73e10298f0654d0945575d5ec36 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 23 Mar 2011 14:54:57 -0400 Subject: [PATCH] fix route --- lib/avm_example.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/avm_example.rb b/lib/avm_example.rb index 600c645..8cc6c9c 100644 --- a/lib/avm_example.rb +++ b/lib/avm_example.rb @@ -44,7 +44,7 @@ class AVMExample < Sinatra::Base haml :print_data end - get %r{/?} do + get %r{^/?$} do haml :index end