Mercurial > zeropaste
comparison app/views/layouts/application.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 | 113ee07f1871 |
children | e043da06b85f |
comparison
equal
deleted
inserted
replaced
149:f5614a89ce49 | 150:88f957e0352b |
---|---|
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 <% unless @skip_csrf %> | |
9 <%= csrf_meta_tags %> | |
10 <% end %> | |
11 </head> | 8 </head> |
12 <body> | 9 <body> |
13 | 10 |
14 <div class="container-fluid"> | 11 <div class="container-fluid"> |
15 <div class="row-fluid"> | 12 <div class="row-fluid"> |