Permalink
Browse files

Include theme framework when searching for static assets

  • Loading branch information...
1 parent ef2f0c6 commit 564fa9b1febf532e32899b423c8b853b3d1720bd Charles Jolley committed with Charles Jolley Mar 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sproutcore/models/manifest.rb
@@ -337,7 +337,7 @@ def find_entry(fragment, opts = {}, seen=nil)
if ret.nil?
seen = Set.new if seen.nil?
seen << cur_manifest.target
- cur_manifest.target.expand_required_targets.each do |t|
+ cur_manifest.target.expand_required_targets(:theme => true).each do |t|
next if seen.include?(t) # avoid recursion
manifest = t.manifest_for(self.variation).build!

0 comments on commit 564fa9b

Please sign in to comment.