set :public_folder in frontend app

:public is no longer used to avoid overloading
Module#public, use :public_folder instead
This commit is contained in:
Phil Cohen
2011-10-21 16:39:15 -07:00
parent d3e358817e
commit 9246c1443f
+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