fixes #788 better redirect after file upload
Merge pull request #790 from akretion/better-redirect-after-upload

fixes #788 better redirect after file upload