Adding config changes to app.rb, fixing mixing producers links

This commit is contained in:
Will Marshall
2014-06-20 10:47:46 +10:00
parent db158a16d4
commit c97fa711b7
3 changed files with 3 additions and 3 deletions

View File

@@ -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"}

View File

@@ -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"

View File

@@ -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/*']