mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Adding config changes to app.rb, fixing mixing producers links
This commit is contained in:
@@ -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"}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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/*']
|
||||
|
||||
Reference in New Issue
Block a user