From c97fa711b76e42d05a6dfac59146c5ef858cec36 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Fri, 20 Jun 2014 10:47:46 +1000 Subject: [PATCH] Adding config changes to app.rb, fixing mixing producers links --- app/views/home/_fat.html.haml | 2 +- app/views/shopping_shared/_producers.html.haml | 2 +- config/application.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/home/_fat.html.haml b/app/views/home/_fat.html.haml index 4196fb5811..0c2e5e6de4 100644 --- a/app/views/home/_fat.html.haml +++ b/app/views/home/_fat.html.haml @@ -27,7 +27,7 @@ %i.ofn-i_036-producers Our producers %ul.bullet-list - %li{"ng-repeat" => "producer in hub.producers"} + %li{"ng-repeat" => "enterprise in hub.producers"} = render partial: "modals/producer" .row.active_table_row.link{"ng-show" => "open()", "bo-if" => "hub.active"} diff --git a/app/views/shopping_shared/_producers.html.haml b/app/views/shopping_shared/_producers.html.haml index 5244032214..a736cac763 100644 --- a/app/views/shopping_shared/_producers.html.haml +++ b/app/views/shopping_shared/_producers.html.haml @@ -4,5 +4,5 @@ %h5 = "#{current_distributor.name}'s producers:" %ul.bullet-list - %li{"ng-repeat" => "producer in CurrentHub.producers"} + %li{"ng-repeat" => "enterprise in CurrentHub.producers"} = render partial: "modals/producer" diff --git a/config/application.rb b/config/application.rb index 45c6e2a540..1cddfcf3a1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -89,7 +89,7 @@ module Openfoodnetwork # Instead, they must be explicitly included below # http://stackoverflow.com/questions/8012434/what-is-the-purpose-of-config-assets-precompile config.assets.initialize_on_precompile = true - config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js'] + config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js', 'iehack.js'] config.assets.precompile += ['admin/all.css', 'admin/restore_spree_from_cms.css', 'admin/*.js', 'admin/**/*.js'] config.assets.precompile += ['darkswarm/all.css', 'darkswarm/all.js'] config.assets.precompile += ['comfortable_mexican_sofa/*']