view app/views/pastes/create.txt.erb @ 90:d100218b96c9

Disables csrf for pastes/show.
author Edho Arief <edho@myconan.net>
date Tue, 06 Nov 2012 11:25:10 +0700
parents f7b7a39fb48c
children d310a716207b
line wrap: on
line source

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