Skip to content

Commit

Permalink
Fix CSV export link in combination with Turbolinks 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kreintjes committed Sep 9, 2020
1 parent 39e301c commit 4db7a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Fix bug in "Dangerous query methods" deprecation warning fix in custom order when using Arel.sql
* Loosen lock on Kaminari
* Fix CSV export download link in combination with Turbolinks 5 (download the file instead of rendering it as text)

## 4.1.0 (28 November, 2018)

Expand Down
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/wice_grid_processor.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class WiceGridProcessor


exportToCsv : ->
@visit @linkForExport
window.location = @linkForExport


register : (func)->
Expand Down

0 comments on commit 4db7a56

Please sign in to comment.