Fix preview format (rails 4)

I had to do this in my rails 4 app, otherwise preview would serve zip content type and format (using `formats.last` [here](https://github.com/rails/rails/blob/a29f746398e7b0647885343e7f26d977dd251999/actionview/lib/action_view/renderer/template_renderer.rb#L14))