Skip to content

Commit

Permalink
Added :public path to config.ru, so that caching works with Rack in D…
Browse files Browse the repository at this point in the history
…reamhost
  • Loading branch information
sofanaranja committed Oct 14, 2008
1 parent e79b6e0 commit ce9aa09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.ru
Expand Up @@ -7,7 +7,8 @@ require 'sinatra'
Sinatra::Application.default_options.merge!(
:run => false,
:env => :production,
:views => File.join(File.dirname(__FILE__), 'views')
:views => File.join(File.dirname(__FILE__), 'views'),
:public => File.join(File.dirname(__FILE__), 'public')
)

require 'sinatra_wiki'
Expand Down

0 comments on commit ce9aa09

Please sign in to comment.