WIP: Move Supplier, Distributor, DistributorSet and ProductDistribution models out of Spree namespace

This commit is contained in:
Rohan Mitchell
2012-10-18 15:46:09 +11:00
parent aa336d9b9f
commit c46019d68c
25 changed files with 147 additions and 159 deletions

View File

@@ -11,8 +11,8 @@ class ApplicationController < ActionController::Base
def load_data_for_sidebar
@suppliers = Spree::Supplier.all
@distributors = Spree::Distributor.with_active_products_on_hand.by_name
@suppliers = Supplier.all
@distributors = Distributor.with_active_products_on_hand.by_name
end
end