From dc266e066f99cae65c06595dfb52ee5b22c37ad8 Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Wed, 10 Sep 2014 19:43:14 +1000 Subject: [PATCH] another few class names --- app/helpers/injection_helper.rb | 4 ++-- app/views/layouts/darkswarm.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/injection_helper.rb b/app/helpers/injection_helper.rb index f1a583265f..a8acba38e6 100644 --- a/app/helpers/injection_helper.rb +++ b/app/helpers/injection_helper.rb @@ -21,8 +21,8 @@ module InjectionHelper inject_json_ams "taxons", Spree::Taxon.all, Api::TaxonSerializer end - def inject_currency_localization - inject_json_ams "currencyLocalization", {}, Api::CurrencyLocalizationSerializer + def inject_currency_config + inject_json_ams "currencyConfig", {}, Api::CurrencyConfigSerializer end diff --git a/app/views/layouts/darkswarm.html.haml b/app/views/layouts/darkswarm.html.haml index f409275fff..0c6ec608d4 100644 --- a/app/views/layouts/darkswarm.html.haml +++ b/app/views/layouts/darkswarm.html.haml @@ -29,7 +29,7 @@ = inject_json "railsFlash", "flash" = inject_taxons = inject_current_order - = inject_currency_localization + = inject_currency_config .off-canvas-wrap{offcanvas: true} .inner-wrap