jquery-ujs 自动带上 csrf 标签

This commit is contained in:
Alsotang 2014-02-19 14:57:04 +08:00
parent 58f10a2620
commit 427cd3422f

View File

@ -43,6 +43,8 @@
<% } else { %>
<title><%= config.description %></title>
<% } %>
<meta content="_csrf" name="csrf-param">
<meta content="<%= csrf %>" name="csrf-token">
</head>
<body>
<!-- navbar -->