comparison 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
comparison
equal deleted inserted replaced
89:de4ce9ce1cc1 90:d100218b96c9
1 <% provide :title, 'Show' %> 1 <% provide :title, 'Show' %>
2 <% @skip_csrf = true %>
2 <div class="page-header"> 3 <div class="page-header">
3 <h1>Paste</h1> 4 <h1>Paste</h1>
4 </div> 5 </div>
5 <pre class="prettyprint linenums"><%= @paste.paste.gsub(/^$/, ' ') %></pre> 6 <pre class="prettyprint linenums"><%= @paste.paste.gsub(/^$/, ' ') %></pre>
6 7