Move #check_order_cycle_expiry method to OrderStockCheck and don't call it from BaseController :before_action callback

This commit is contained in:
Matt-Yorkley
2022-01-29 12:10:55 +00:00
parent 6dac65ace5
commit 5e6dd1e6e1
5 changed files with 25 additions and 25 deletions

View File

@@ -12,7 +12,6 @@ class BaseController < ApplicationController
include OrderCyclesHelper
before_action :set_locale
before_action :check_order_cycle_expiry
private