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:
Maikel Linke
2023-11-30 13:51:32 +11:00
parent f28a8c87ab
commit bbe37e1392
3 changed files with 4 additions and 3 deletions

View File

@@ -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