mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Require distributor in enterprise controller, so that everything actually works
This commit is contained in:
@@ -2,6 +2,7 @@ class EnterprisesController < BaseController
|
||||
layout "darkswarm"
|
||||
helper Spree::ProductsHelper
|
||||
include OrderCyclesHelper
|
||||
before_filter :require_distributor_chosen
|
||||
before_filter :set_order_cycles, only: :shop
|
||||
before_filter :load_active_distributors, only: :shop
|
||||
before_filter :clean_permalink, only: :check_permalink
|
||||
|
||||
Reference in New Issue
Block a user