summaryrefslogtreecommitdiff
path: root/file_upload.rb
diff options
context:
space:
mode:
authortbuehlmann <tobias.buehlmann@gmx.de>2010-12-24 12:35:53 +0100
committertbuehlmann <tobias.buehlmann@gmx.de>2010-12-24 12:35:53 +0100
commitfab93604bcbe6cb7c923e7ee2f08e7e0a56a9177 (patch)
tree4b3257b2ba06200bb28ca198d2bacb0099e9fa12 /file_upload.rb
parentda2d98e8d92e87b6fdd86b4cfe810c9fc7a44a13 (diff)
using #settings
Diffstat (limited to 'file_upload.rb')
-rw-r--r--file_upload.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_upload.rb b/file_upload.rb
index a23d6a1..b8b08b6 100644
--- a/file_upload.rb
+++ b/file_upload.rb
@@ -11,7 +11,7 @@ class FileUpload < Sinatra::Base
set :views, File.join(File.dirname(__FILE__), 'views')
set :public, File.join(File.dirname(__FILE__), 'public')
- set :files, File.join(public, 'files')
+ set :files, File.join(settings.public, 'files')
end
helpers do