Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

cijoe with new version of sinatra #81

Open
wants to merge 1 commit into from

1 participant

@mtunjic

a just fix some issues to run fine with new version of sinatra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 18, 2012
  1. Update lib/cijoe/server.rb

    :marko => tunjić authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cijoe/server.rb
View
4 lib/cijoe/server.rb
@@ -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
@@ -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
Something went wrong with that request. Please try again.