Permalink
Browse files

use the new :public_dir symbol for declaring the public directory

  • Loading branch information...
andrewmbenton committed Aug 26, 2012
1 parent 9ef943a commit 5981c5ad476325947fcbe4c7ddc394d0014da98f
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/app.rb
View
@@ -7,7 +7,7 @@ class App < Sinatra::Base
dir = File.dirname(File.expand_path(__FILE__))
- set :public, "#{dir}/public"
+ set :public_folder, "#{dir}/public"
set :root, RACK_ROOT
set :app_file, __FILE__
set :static, true

0 comments on commit 5981c5a

Please sign in to comment.