Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added Ext.Ajax.extraParam to include the authenticity_token in page r…

…equests
  • Loading branch information...
commit 94df7ed99f88009d3ccc190890b170e503139edf 1 parent 46cfbc7
@cwoodward cwoodward authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 erp_app/app/views/erp_app/desktop/base/index.erb
View
6 erp_app/app/views/erp_app/desktop/base/index.erb
@@ -107,7 +107,11 @@
</style>
<%=include_file_upload%>
<%=setup_js_authentication(@user)%>
-
+ <script type="text/javascript">
+
+Ext.Ajax.extraParams = { authenticity_token: "<%= form_authenticity_token %>" };
+
+</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Compass Desktop</title>
</head>
Please sign in to comment.
Something went wrong with that request. Please try again.