mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Replace set_methods in order model
This commit is contained in:
@@ -25,6 +25,6 @@ class BaseController < ApplicationController
|
||||
def set_order_cycle
|
||||
return if @order_cycles.count != 1
|
||||
|
||||
current_order(true).set_order_cycle! @order_cycles.first
|
||||
current_order(true).assign_order_cycle! @order_cycles.first
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user