Is there a way to access form errors in the controller? In the view I can access form errors using
from.error_messages
I want to list errors in a flash message before may layout header, how do I go about accessing those errors in the controller so I can assign them to a flash message?