view app/views/pastes/show.html.erb @ 8:418105d973f1

Simplified routes.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:49:54 -0700
parents 3a1f6c2e195d
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) %>