lib/allen/project.rb in allen-0.3.0 vs lib/allen/project.rb in allen-0.3.1
- old
+ new
@@ -30,20 +30,20 @@
end
def js
@js_asset_bundle ||= begin
preprocessor = Preprocessors.for(settings.js_preprocessor)
- input = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.js_input}"
- output = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.js_output}"
+ input = "#{settings.webroot}/#{settings.js_input}"
+ output = "#{settings.webroot}/#{settings.js_output}"
AssetBundle.new(preprocessor, input, output)
end
end
def css
@css_asset_bundle ||= begin
preprocessor = Preprocessors.for(settings.css_preprocessor)
- input = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.css_input}"
- output = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.css_output}"
+ input = "#{settings.webroot}/#{settings.css_input}"
+ output = "#{settings.webroot}/#{settings.css_output}"
AssetBundle.new(preprocessor, input, output)
end
end
private