mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Do not show order cycle debug info in production
This commit is contained in:
@@ -59,13 +59,14 @@
|
||||
= link_to 'Cancel', main_app.admin_order_cycles_path
|
||||
|
||||
|
||||
#order-cycles-debug
|
||||
%h2 Debug information
|
||||
- unless Rails.env.production?
|
||||
#order-cycles-debug
|
||||
%h2 Debug information
|
||||
|
||||
%pre order_cycle = {{ order_cycle | json }}
|
||||
%hr/
|
||||
%pre enterprises = {{ enterprises | json }}
|
||||
%hr/
|
||||
%pre enterprise_fees = {{ enterprise_fees | json }}
|
||||
%hr/
|
||||
%pre supplied_products = {{ supplied_products | json }}
|
||||
%pre order_cycle = {{ order_cycle | json }}
|
||||
%hr/
|
||||
%pre enterprises = {{ enterprises | json }}
|
||||
%hr/
|
||||
%pre enterprise_fees = {{ enterprise_fees | json }}
|
||||
%hr/
|
||||
%pre supplied_products = {{ supplied_products | json }}
|
||||
|
||||
Reference in New Issue
Block a user