mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Use flash.now unless redirecting
This commit is contained in:
@@ -54,7 +54,7 @@ class SplitCheckoutController < ::BaseController
|
||||
advance_order_state
|
||||
redirect_to_step
|
||||
else
|
||||
flash[:error] = "Saving failed, please update the highlighted fields"
|
||||
flash.now[:error] = "Saving failed, please update the highlighted fields"
|
||||
render :edit
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user