patricklindsay / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
http://wicegrid.herokuapp.com/
MIT License
33 stars 29 forks source link

When downloading CSV, the content is pure html #40

Closed nelbren closed 6 years ago

nelbren commented 6 years ago

The process of downloading CSV files fails, due in Rails 5.1.6 and ruby 2.3.3-p222. Instead of including the generated content, what is included is the normal rendering.

By example:


<!DOCTYPE html><html><head><title>APP</title><meta charset="utf-8" /><link rel="stylesheet" media="all" href="/assets/style.self-00d570036798fb00ac544a685bc8fac3de7a61da0117ea7ba403d0985ff93d9a.css?body=1" data-turbolinks-track="reload" />
<link rel="stylesheet" media="all" href="/assets/bootstrap-xl-xxl.self-f2516075df6613bb5e3dafd678661899788780dc6bf6ac1714db671987faa62d.css?body=1" data-turbolinks-track="reload" />
...
nelbren commented 6 years ago

It's fixed in: #4