app/views/components/_general_content.html.erb in noodall-components-general-content-0.0.4 vs app/views/components/_general_content.html.erb in noodall-components-general-content-0.0.5

- old
+ new

@@ -1,6 +1,6 @@ <div id="<%= slot_code %>" class="component general-content <%= 'double' if expand %> <%= additional_classes %>"> <h2><%= component.title %></h2> - <%= link_to(image_tag(component.asset.url('200x108#', :jpg)), component.link) unless component.asset.nil? %> + <%= link_to(image_tag(component.asset.url('200x108#', component.asset.web_image_extension)), component.link) unless component.asset.nil? %> <div><%= component.content.html_safe %></div> <%= link_to component.link_label, component.link, :class => "more" unless component.link.blank? %> </div>