Merge pull request #217 from phlipper/fix-sinatra-api-warning

set :public_folder in frontend app instead of :public
This commit is contained in:
rick
2011-10-22 01:58:13 -07:00
+2 -3
View File
@@ -13,9 +13,8 @@ module Precious
dir = File.dirname(File.expand_path(__FILE__))
# We want to serve public assets for now
set :public, "#{dir}/public"
set :static, true
set :public_folder, "#{dir}/public"
set :static, true
set :mustache, {
# Tell mustache where the Views constant lives