view 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 source

<p id="notice"><%= notice %></p>

<p>
  <b>Paste:</b>
  <pre><%= @paste.paste %></pre>
</p>

<p>
  <b>Hash:</b>
  <%= @paste.paste_hash %>
</p>

<%= link_to 'Raw', paste_path(@paste, :txt) %>