diff app/views/pastes/show.html.erb @ 90:d100218b96c9

Disables csrf for pastes/show.
author Edho Arief <edho@myconan.net>
date Tue, 06 Nov 2012 11:25:10 +0700
parents 285cce9725bf
children 58aa32120b54
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Tue Nov 06 11:16:47 2012 +0700
+++ b/app/views/pastes/show.html.erb	Tue Nov 06 11:25:10 2012 +0700
@@ -1,4 +1,5 @@
 <% provide :title, 'Show' %>
+<% @skip_csrf = true %>
 <div class="page-header">
   <h1>Paste</h1>
 </div>