lib/sinatra/assetpack/helpers.rb in sinatra-assetpack-0.1.5 vs lib/sinatra/assetpack/helpers.rb in sinatra-assetpack-0.1.6

- old
+ new

@@ -42,10 +42,10 @@ def show_one_asset_pack(type, name, options={}) pack = settings.assets.packages["#{name}.#{type}"] return "" unless pack - if settings.production? + if settings.environment == :production pack.to_production_html options else pack.to_development_html options end end