lib/locomotive/dragonfly.rb in locomotive_cms-2.0.0.rc6 vs lib/locomotive/dragonfly.rb in locomotive_cms-2.0.0.rc7

- old
+ new

@@ -5,9 +5,11 @@ file = nil if source.is_a?(String) || source.is_a?(Hash) # simple string or theme asset source = source['url'] if source.is_a?(Hash) + source.strip! + if source =~ /^http/ file = self.app.fetch_url(source) else file = self.app.fetch_file(File.join('public', source)) end \ No newline at end of file