Skip to content
Browse files

safer...and removed the debug...

  • Loading branch information...
1 parent d367d93 commit 85b8fc95f69ebbb549133fd80773d481c3fd1897 @onkis onkis committed Jun 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sproutcore/rack/dev.rb
View
4 lib/sproutcore/rack/dev.rb
@@ -6,7 +6,6 @@
# ===========================================================================
require 'json'
-#require 'ruby-debug'
module SC
module Rack
@@ -60,7 +59,8 @@ def get_targets_json
def get_greenhouse_configs(env)
rqust = ::Rack::Request.new(env)
params = rqust.params
- app_target = @project.target_for(params['app'].to_sym)
+ app = params['app'] ? params['app'].to_sym : ''
+ app_target = @project.target_for(app)
ret = []
if(app_target)
path = app_target.source_root + "/design/greenhouse.config"

0 comments on commit 85b8fc9

Please sign in to comment.
Something went wrong with that request. Please try again.