From 5331b624b1a825a53f16d0429c0cb79b57f3d394 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 23 Nov 2012 14:25:51 +0000 Subject: Update web_interface to use public_folder instead of just public --- lib/mauve/web_interface.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mauve/web_interface.rb') diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb index 9cdb81b..f9cf0fd 100644 --- a/lib/mauve/web_interface.rb +++ b/lib/mauve/web_interface.rb @@ -52,7 +52,7 @@ module Mauve # Ugh.. hacky way to dynamically configure the document root. set :root, Proc.new{ HTTPServer.instance.document_root } set :views, Proc.new{ root && File.join(root, 'views') } - set :public, Proc.new{ root && File.join(root, 'static') } + set :public_folder, Proc.new{ root && File.join(root, 'static') } set :static, true set :show_exceptions, true -- cgit v1.2.1