diff --git a/lib/avm_example.rb b/lib/avm_example.rb index 2f2c8a3..0a56555 100644 --- a/lib/avm_example.rb +++ b/lib/avm_example.rb @@ -10,7 +10,9 @@ class AVMExample < Sinatra::Base :path => '/', :expire_after => 60 - set :root, File.dirname(__FILE__) + configure do + set :root, File.dirname(__FILE__) + end register Sinatra::Flash helpers Sinatra::ContentFor