From 9246c1443f7954d28ab11aea9c53cbe0e63798bd Mon Sep 17 00:00:00 2001 From: Phil Cohen Date: Fri, 21 Oct 2011 16:39:15 -0700 Subject: [PATCH] set :public_folder in frontend app :public is no longer used to avoid overloading Module#public, use :public_folder instead --- lib/gollum/frontend/app.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb index 774f17eb..0026a329 100644 --- a/lib/gollum/frontend/app.rb +++ b/lib/gollum/frontend/app.rb @@ -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