mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Update ReportsController for background reports
As it turns out, the background reports were missing a small feature to store user preferences. Yay specs!
This commit is contained in:
@@ -26,6 +26,8 @@ module Admin
|
||||
.enabled?(:background_reports, spree_current_user)
|
||||
|
||||
if @background_reports && request.post?
|
||||
rendering_options # stores user preferences
|
||||
|
||||
return background(report_format)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user