diff app/views/pastes/show.html.erb @ 150:88f957e0352b

No need for csrf protection Because there's no cookies/session to be protected.
author Edho Arief <edho@myconan.net>
date Mon, 26 Nov 2012 21:52:43 +0700
parents 256c178458dc
children b1aa7865bc7f
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Mon Nov 26 21:51:20 2012 +0700
+++ b/app/views/pastes/show.html.erb	Mon Nov 26 21:52:43 2012 +0700
@@ -1,5 +1,4 @@
 <% provide :title, "Paste ##{@paste.id}" %>
-<% @skip_csrf = true %>
 <div class="page-header">
   <h1><%= content_for :title %></h1>
 </div>