comparison 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
comparison
equal deleted inserted replaced
149:f5614a89ce49 150:88f957e0352b
1 <% provide :title, "Paste ##{@paste.id}" %> 1 <% provide :title, "Paste ##{@paste.id}" %>
2 <% @skip_csrf = true %>
3 <div class="page-header"> 2 <div class="page-header">
4 <h1><%= content_for :title %></h1> 3 <h1><%= content_for :title %></h1>
5 </div> 4 </div>
6 5
7 <div id="paste-show" class="tabbable"> 6 <div id="paste-show" class="tabbable">