comparison app/views/layouts/application.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 04164da6c12c
children 255f8f9455a0
comparison
equal deleted inserted replaced
89:de4ce9ce1cc1 90:d100218b96c9
3 <head> 3 <head>
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> 4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
5 <title><%= html_title %></title> 5 <title><%= html_title %></title>
6 <%= stylesheet_link_tag "application", :media => "all" %> 6 <%= stylesheet_link_tag "application", :media => "all" %>
7 <%= javascript_include_tag "application" %> 7 <%= javascript_include_tag "application" %>
8 <%= csrf_meta_tags %> 8 <% unless @skip_csrf %>
9 <%= csrf_meta_tags %>
10 <% end %>
9 </head> 11 </head>
10 <body> 12 <body>
11 13
12 <div class="container-fluid"> 14 <div class="container-fluid">
13 <div class="row-fluid"> 15 <div class="row-fluid">