summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file_upload.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_upload.rb b/file_upload.rb
index b8b08b6..671abcb 100644
--- a/file_upload.rb
+++ b/file_upload.rb
@@ -10,8 +10,8 @@ class FileUpload < Sinatra::Base
enable :sessions
set :views, File.join(File.dirname(__FILE__), 'views')
- set :public, File.join(File.dirname(__FILE__), 'public')
- set :files, File.join(settings.public, 'files')
+ set :public_folder, File.join(File.dirname(__FILE__), 'public')
+ set :files, File.join(settings.public_folder, 'files')
end
helpers do