lib/sinatra/assetpack/helpers.rb in sinatra-assetpack-0.3.0 vs lib/sinatra/assetpack/helpers.rb in sinatra-assetpack-0.3.1

- old
+ new

@@ -9,10 +9,10 @@ show_asset_pack :js, *args end def img(src, options={}) attrs = { :src => HtmlHelpers.get_file_uri(src, settings.assets) } - .merge!(options) + attrs = attrs.merge(options) "<img#{HtmlHelpers.kv attrs} />" end def show_asset_pack(type, *args)