Permalink
Browse files

Allow access to the public folder

  • Loading branch information...
1 parent 3ac5997 commit 0c76cefac39ac9a111bab69c9e48acba50f78d29 @rtyler committed Aug 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/saucetv/app.rb
  2. 0 public/.gitkeep
View
1 lib/saucetv/app.rb
@@ -8,6 +8,7 @@
module SauceTV
class Application < Sinatra::Base
enable :sessions
+ set :public_folder, File.expand_path(File.dirname(__FILE__) + '/../../public')
def authenticated?
session[:username] && session[:api_key]
View
0 public/.gitkeep
No changes.

0 comments on commit 0c76cef

Please sign in to comment.