mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Revert "Reworking flash messages hooray"
This reverts commit c9d0091cd9.
This commit is contained in:
@@ -37,7 +37,7 @@ class ApplicationController < ActionController::Base
|
||||
session[:expired_order_cycle_id] = current_order_cycle.id
|
||||
current_order.empty!
|
||||
current_order.set_order_cycle! nil
|
||||
flash[:info] = "The order cycle you've selected has just closed. Please try again!"
|
||||
flash[:notice] = "The order cycle you've selected has just closed. Please try again!"
|
||||
redirect_to root_url
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user