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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user