From d71082bc8b6a2091afeb424198d096a12c2b1584 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 23 Mar 2011 15:03:04 -0400 Subject: [PATCH] get it right --- 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 0a56555..d8a9855 100644 --- a/lib/avm_example.rb +++ b/lib/avm_example.rb @@ -11,7 +11,7 @@ class AVMExample < Sinatra::Base :expire_after => 60 configure do - set :root, File.dirname(__FILE__) + set :root, File.expand_path('../..', __FILE__) end register Sinatra::Flash