mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Move spree/layouts/admin/add_analytics deface to spree/layouts/admin view
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
/ insert_bottom "[data-hook='admin_footer_scripts']"
|
||||
|
||||
= render 'spree/shared/google_analytics'
|
||||
@@ -71,5 +71,7 @@
|
||||
|
||||
%div{"data-hook" => "admin_footer_scripts"}
|
||||
|
||||
= render 'spree/shared/google_analytics'
|
||||
|
||||
:javascript
|
||||
Spree.api_key = #{raw(try_spree_current_user.try(:spree_api_key).to_s.inspect)};
|
||||
|
||||
Reference in New Issue
Block a user