mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
The polling controller was requesting turbo_stream format but only an HTML template exists. Fix the Accept header to request text/html and handle both formats in the controller.
This commit is contained in:
@@ -26,7 +26,11 @@ class FamilyExportsController < ApplicationController
|
||||
[ t("breadcrumbs.home"), root_path ],
|
||||
[ t("breadcrumbs.exports"), family_exports_path ]
|
||||
]
|
||||
render layout: "settings"
|
||||
|
||||
respond_to do |format|
|
||||
format.html { render layout: "settings" }
|
||||
format.turbo_stream { redirect_to family_exports_path }
|
||||
end
|
||||
end
|
||||
|
||||
def download
|
||||
|
||||
Reference in New Issue
Block a user