diff --git a/giftsmas.rb b/giftsmas.rb index 785baae..b26da13 100755 --- a/giftsmas.rb +++ b/giftsmas.rb @@ -21,6 +21,8 @@ module Giftsmas class App < Roda + opts[:root] = File.dirname(__FILE__) + use Rack::Session::Cookie, :secret=>SECRET plugin :csrf plugin :static, %w'/favicon.ico'