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 Jan 27, 2020
1 parent 1a8b837 commit c2ad8f3
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
@@ -1,6 +1,7 @@
## Unreleased

* Fix bug in "Dangerous query methods" deprecation warning fix in custom order when using Arel.sql
* 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 c2ad8f3

Please sign in to comment.