Permalink
Browse files

updated default path after lib move

  • Loading branch information...
schacon committed Jan 21, 2010
1 parent 5d15e55 commit ed700c338274958ded0fa15ad933c6403b142f7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/showoff.rb
View
@@ -19,7 +19,7 @@ class ShowOff < Sinatra::Application
def initialize(app=nil)
super(app)
- puts dir = File.expand_path(File.dirname(__FILE__))
+ puts dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
if Dir.pwd == dir
options.pres_dir = dir + '/example'
else

0 comments on commit ed700c3

Please sign in to comment.