From d5fcab066cbe83f79bdbba10627d62a98b1e13da Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 18 Jun 2020 17:14:50 -0500 Subject: [PATCH] Fix some Bess migration bugs --- app/views/layouts/_app_data.html.erb | 2 +- app/views/layouts/_javascripts.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_app_data.html.erb b/app/views/layouts/_app_data.html.erb index 36050558..98b5805d 100644 --- a/app/views/layouts/_app_data.html.erb +++ b/app/views/layouts/_app_data.html.erb @@ -21,7 +21,7 @@ var app = { , map_provider: "<%= Houdini.maps&.provider %>" , map_provider_options: <%= Houdini.maps&.options ? raw(Houdini.maps.options.to_json) : {} %> , editor: "<%= Houdini.page_editor.editor%>" -<% if Settings&.page_editor&.editor == 'froala' and Settings&.page_editor&.editor_options&.froala_key %>, froala_key: "<%= Houdini.page_editor.editor_options.froala_key %>"<% end %> +<% if Houdini.page_editor&.editor == 'froala' and Houdini.page_editor&.editor_options&.froala_key %>, froala_key: "<%= Houdini.page_editor.editor_options.froala_key %>"<% end %> <%if @nonprofit&.currency_symbol %>, currency_symbol: "<%= @nonprofit.currency_symbol%>"<% end %> }; diff --git a/app/views/layouts/_javascripts.html.erb b/app/views/layouts/_javascripts.html.erb index 0f348a5b..49199d71 100644 --- a/app/views/layouts/_javascripts.html.erb +++ b/app/views/layouts/_javascripts.html.erb @@ -4,14 +4,14 @@ <%= render 'layouts/app_data' %> -<% if Houdini.payment_providers.stripe.stripe_proprietary_v2_js %> +<% if Houdini.payment_providers.stripe.proprietary_v2_js %> <% else %> <%= javascript_pack_tag "page__stripe_wrapper" %> <% end %>