mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
Do not check missing ship/pay methods on turbo request
This commit is contained in:
@@ -82,6 +82,9 @@ module Spree
|
||||
private
|
||||
|
||||
def html_request?
|
||||
return false if request.format.symbol == :turbo_stream ||
|
||||
request.format.to_s.include?("turbo")
|
||||
|
||||
request.format.html?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user