Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update sinatra / modernize

  • Loading branch information...
commit 2e57ee2ea4f0600ee3a317cde9c3dc110885d4cf 1 parent 4dcee70
@zapnap zapnap authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.rb
View
4 app.rb
@@ -1,4 +1,4 @@
-require 'init'
+require File.join(File.dirname(__FILE__), 'init')
require 'yard'
require 'sinatra'
@@ -159,7 +159,7 @@ class << self; attr_accessor :the_options end
disable :raise_errors
set :views, TEMPLATES_PATH
- set :public, STATIC_PATH
+ set :public_folder, STATIC_PATH
set :repos, REPOS_PATH
set :tmp, TMP_PATH
Please sign in to comment.
Something went wrong with that request. Please try again.