the hash key for extracting the flash content in the middleware was wrong

at least working with rails 4.0.0