mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-11 23:17:48 +00:00
Merge pull request #4714 from luisramos0/fix_permissions_load_problem
Add require to fix loading issue. Some other Permissions module was being loaded
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'open_food_network/permissions'
|
||||
|
||||
module OrderCyclesHelper
|
||||
def current_order_cycle
|
||||
@current_order_cycle ||= current_order(false).andand.order_cycle
|
||||
|
||||
Reference in New Issue
Block a user