Fix for flash file causing precompile error on Heroku