Fix params access in reports views

This commit is contained in:
Matt-Yorkley
2021-01-10 11:05:27 +00:00
parent dcf982c1c3
commit 5e3d646f8c

View File

@@ -1,4 +1,6 @@
module ApplicationHelper
include RawParams
def feature?(feature, user = nil)
OpenFoodNetwork::FeatureToggle.enabled?(feature, user)
end