diff options
author | tbuehlmann <tobias.buehlmann@gmx.de> | 2010-12-24 12:35:53 +0100 |
---|---|---|
committer | tbuehlmann <tobias.buehlmann@gmx.de> | 2010-12-24 12:35:53 +0100 |
commit | fab93604bcbe6cb7c923e7ee2f08e7e0a56a9177 (patch) | |
tree | 4b3257b2ba06200bb28ca198d2bacb0099e9fa12 | |
parent | da2d98e8d92e87b6fdd86b4cfe810c9fc7a44a13 (diff) |
using #settings
-rw-r--r-- | file_upload.rb | 2 |
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 |