diff app/views/pastes/show.html.erb @ 7:3a1f6c2e195d

Added raw paste view.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:39:07 -0700
parents 5e54b5ff78d0
children 56c17679105b
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Sun Aug 26 11:37:49 2012 -0700
+++ b/app/views/pastes/show.html.erb	Sun Aug 26 11:39:07 2012 -0700
@@ -9,3 +9,5 @@
   <b>Hash:</b>
   <%= @paste.paste_hash %>
 </p>
+
+<%= link_to 'Raw', paste_path(@paste, :txt) %>