comparison app/views/pastes/create.txt.erb @ 67:f7b7a39fb48c

Allow post in txt format pt. 2 (view and controller).
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 10:20:58 +0700
parents
children d310a716207b
comparison
equal deleted inserted replaced
66:e0817b84c01b 67:f7b7a39fb48c
1 <% unless @paste.errors.any? %>
2 <%= paste_path @paste, :only_path => false %>
3 <% else %>
4 Failed
5 <% end %>