From e294c72cd10c4d0e976a27f21d1f90597a0eaa4d Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 20 Jul 2018 15:13:44 -0500 Subject: [PATCH] Correct bug where correct currency symbol wasn't included on all pages --- app/views/layouts/_app_data.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/layouts/_app_data.html.erb b/app/views/layouts/_app_data.html.erb index 87bde97b..c6d273d1 100644 --- a/app/views/layouts/_app_data.html.erb +++ b/app/views/layouts/_app_data.html.erb @@ -22,6 +22,7 @@ var app = { , map_provider_options: <%= Settings.maps&.options ? raw(Settings.maps.options.to_json) : {} %> , editor: "<%= Settings.page_editor.editor%>" <% if Settings&.page_editor&.editor == 'froala' and Settings&.page_editor&.editor_options&.froala_key %>, froala_key: "<%= Settings.page_editor.editor_options.froala_key %>"<% end %> + <%if @nonprofit&.currency_symbol %>, currency_symbol: "<%= @nonprofit.currency_symbol%>"<% end %> }; var ENV = {