view app/views/pastes/create.txt.erb @ 179:b1aa7865bc7f

Added paste id data to markup.
author Edho Arief <edho@myconan.net>
date Fri, 01 Feb 2013 22:37:06 +0700
parents d310a716207b
children dd5a154c17c7
line wrap: on
line source

<% unless @paste.errors.any? %>
<%= paste_path @paste, :only_path => false %> (key: <%= @paste.key %>)
<% else %>
Failed
<% end %>