Skip to content

Commit

Permalink
Switch template previewing to jpgs, they are much faster.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed Oct 29, 2012
1 parent 89197db commit 4de4e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/templates/_show_body.html.erb
@@ -1,7 +1,7 @@
<%= link_to '[Edit]', edit_template_path(@template) %>

<article>
<%= image_tag preview_template_path(@template, :width=> 600, :format => :png), :style => "width: 100%", :alt => "#{@template.name} Preview" %>
<%= image_tag preview_template_path(@template, :width=> 600, :format => :jpg), :style => "width: 100%", :alt => "#{@template.name} Preview" %>
</article>
<aside>
<p>
Expand Down

0 comments on commit 4de4e0d

Please sign in to comment.