comparison app/views/pastes/create.txt.erb @ 180:dd5a154c17c7

Extracted txt result template to helper.
author Edho Arief <edho@myconan.net>
date Fri, 01 Feb 2013 22:57:49 +0700
parents d310a716207b
children
comparison
equal deleted inserted replaced
179:b1aa7865bc7f 180:dd5a154c17c7
1 <% unless @paste.errors.any? %> 1 <%= print_txt_create_result %>
2 <%= paste_path @paste, :only_path => false %> (key: <%= @paste.key %>)
3 <% else %>
4 Failed
5 <% end %>