<4> After any upgrade from Rail 3 to 4 Rail, any Flash message does not work after redirection.
Here are some examples of redirects. Notice: "Your account has been updated"}) redirect_to (root_path, notice: "Your account has been deactivated"
Has been. ") User_account_path (Anchor:" Network ") Redirect, Note:" Your primary network has been changed. "
Any problem that could have caused the problem?
View / layout / app here. Hmm
- unless Flash.empty? - Flash.Each | Name, msg - Until the next: [Warning, error :, notice]. Include? (Name)% p.flash_message {id: name} = msg
By the way, without any redirect flash works fine. So, I know that the problem is not with the scene.
No comments:
Post a Comment