Fix typo in filename
This commit is contained in:
@@ -8,7 +8,7 @@ defmodule OsuuspuutarhaWeb.Exports.OrderController do
|
|||||||
|
|
||||||
conn
|
conn
|
||||||
|> put_resp_content_type("text/xlsx")
|
|> put_resp_content_type("text/xlsx")
|
||||||
|> put_resp_header("content-disposition", "attachment; filename=\"tilaukset.xlxs\"")
|
|> put_resp_header("content-disposition", "attachment; filename=\"tilaukset.xlsx\"")
|
||||||
|> render("tilaukset.xlsx", %{orders: orders})
|
|> render("tilaukset.xlsx", %{orders: orders})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user