Skip to content

Commit

Permalink
changed public -> public_folder due to sinatra deprecation (warning w…
Browse files Browse the repository at this point in the history
…as getting annoying)
  • Loading branch information
alexrothenberg committed Nov 10, 2011
1 parent 95ceba5 commit d27296c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/healthy/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ module Healthy
class Server < Sinatra::Base
dir = File.dirname(File.expand_path(__FILE__))

set :views, "#{dir}/views"
set :public, "#{dir}/public"
set :static, true
set :views, "#{dir}/views"
set :public_folder, "#{dir}/public"
set :static, true

get '/', :provides => 'html' do
@checks = Diagnostic.checks
Expand Down

0 comments on commit d27296c

Please sign in to comment.