Permalink
Browse files

View load path

  • Loading branch information...
1 parent 8c9c073 commit 9667f7885bf54ad51168bbc7a2edb79d2e119b96 @iamjwc iamjwc committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 endpoints.rb
View
@@ -1,4 +1,4 @@
-set :views, File.join(File.basename(__FILE__), "views")
+set :views, File.join(File.dirname(__FILE__), "views")
# Sanity method to insure everything is working.
get '/ping' do

0 comments on commit 9667f78

Please sign in to comment.