diff app/views/pastes/create.txt.erb @ 177:d310a716207b

Added paste key information for txt paste.
author Edho Arief <edho@myconan.net>
date Fri, 01 Feb 2013 22:26:36 +0700
parents f7b7a39fb48c
children dd5a154c17c7
line wrap: on
line diff
--- a/app/views/pastes/create.txt.erb	Fri Feb 01 22:24:08 2013 +0700
+++ b/app/views/pastes/create.txt.erb	Fri Feb 01 22:26:36 2013 +0700
@@ -1,5 +1,5 @@
 <% unless @paste.errors.any? %>
-<%= paste_path @paste, :only_path => false %>
+<%= paste_path @paste, :only_path => false %> (key: <%= @paste.key %>)
 <% else %>
 Failed
 <% end %>