Reworking flash messages hooray

This commit is contained in:
Will Marshall
2014-06-06 16:41:28 +10:00
parent 37f197205f
commit c9d0091cd9
14 changed files with 36 additions and 26 deletions

View File

@@ -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[:notice] = "The order cycle you've selected has just closed. Please try again!"
flash[:info] = "The order cycle you've selected has just closed. Please try again!"
redirect_to root_url
end
end