README.md in excel-esv-0.0.7 vs README.md in excel-esv-1.0.0
- old
+ new
@@ -81,9 +81,10 @@
include ESV::RailsController # for send_excel
def show
data = MyExcelDocument.generate("Rails")
send_excel(data)
+ # or: send_excel(data, filename: "myfilename.xls")
end
def another_example
respond_to do |format|
format.html { … }