summaryrefslogtreecommitdiff
path: root/file_upload.rb
diff options
context:
space:
mode:
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