Update CSRF helper usage

Renamed back in Rails 3.1.0
This commit is contained in:
Dan Rice 2014-07-07 21:38:49 -04:00
parent 9125355313
commit 1e4f7c9f30

View file

@ -5,7 +5,7 @@
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print", :media => "print" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tag %>
<%= csrf_meta_tags %>
<script type="text/javascript">
var SOURCE_VIEW = '<%=@source_view%>';
var AUTH_TOKEN = '<%= raw(protect_against_forgery? ? form_authenticity_token.inspect : "") %>'