mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Redirecting to the shop page when a distributor is selected
This commit is contained in:
@@ -67,7 +67,7 @@ class EnterprisesController < BaseController
|
||||
order.order_cycle = order_cycle_options.first if order_cycle_options.count == 1
|
||||
order.save!
|
||||
|
||||
redirect_to main_app.enterprise_path(distributor)
|
||||
redirect_to main_app.shop_path
|
||||
end
|
||||
|
||||
# essentially the new 'show' action that renders non-spree view
|
||||
|
||||
Reference in New Issue
Block a user