mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix error in js tag in head
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
= render "spree/admin/shared/translations"
|
||||
= render "spree/admin/shared/routes"
|
||||
|
||||
= javascript_tag do
|
||||
jQuery.alerts.dialogClass = 'spree';
|
||||
\#{"var AUTH_TOKEN = #{form_authenticity_token.inspect};"}
|
||||
%script
|
||||
= "jQuery.alerts.dialogClass = 'spree';"
|
||||
= raw "var AUTH_TOKEN = \"#{form_authenticity_token}\";"
|
||||
|
||||
= yield :head
|
||||
|
||||
Reference in New Issue
Block a user