Skip to content

Commit

Permalink
Update lib/cijoe/server.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
:marko => tunjić committed Sep 18, 2012
1 parent 7c7ea5d commit b3c5192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cijoe/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Server < Sinatra::Base
dir = File.dirname(File.expand_path(__FILE__))

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

Expand Down Expand Up @@ -100,7 +100,7 @@ def self.project_path=(project_path)
end
puts "Using HTTP basic auth"
end
set :project_path, Proc.new{project_path}
set :project_path, Proc.new{project_path}, true
end

def check_project
Expand Down

0 comments on commit b3c5192

Please sign in to comment.