diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-11-23 14:25:51 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-11-23 14:25:51 +0000 |
commit | 5331b624b1a825a53f16d0429c0cb79b57f3d394 (patch) | |
tree | 30ce139478b2761b3b7cdb26bfb93c890a5bfd1d | |
parent | ff446964b76ea824ba4a3a68c3cdb574013e9a51 (diff) |
Update web_interface to use public_folder instead of just public
-rw-r--r-- | lib/mauve/web_interface.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |