view app/views/pastes/show.html.erb @ 13:33e8202c7e5d

Added example database.yml.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 12:06:48 -0700
parents 56c17679105b
children 81c86eb273f4
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) %> | <%= link_to 'New paste based on this', new_paste_path(:base => @paste.id) %> | <%= link_to 'More Paste', new_paste_path %>