diff 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
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb	Mon Nov 26 21:51:20 2012 +0700
+++ b/app/views/layouts/application.html.erb	Mon Nov 26 21:52:43 2012 +0700
@@ -5,9 +5,6 @@
     <title><%= html_title %></title>
     <%= stylesheet_link_tag    "application", :media => "all" %>
     <%= javascript_include_tag "application" %>
-    <% unless @skip_csrf %>
-      <%= csrf_meta_tags %>
-    <% end %>
   </head>
   <body>