From ec08572f0a91fd1f86b20aae81b5ef13e32f1b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 25 Mar 2017 13:21:11 -0700 Subject: [PATCH] Use application/json for haml templates application/javascript was set in commit 5e501844a7faf3865f45c03b618dfe7fbaaecddd which works, but causes browsers to throw lots of errors in the console, as they try to parse those scripts as javascript, json type still works and doesn't have same issue with browsers --- assets/templates/errors.haml | 8 ++++---- assets/templates/groups.haml | 2 +- assets/templates/modal.haml | 4 ++-- assets/templates/summary.haml | 4 ++-- bindata_assetfs.go | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/assets/templates/errors.haml b/assets/templates/errors.haml index e95abc13f..9b90ad681 100644 --- a/assets/templates/errors.haml +++ b/assets/templates/errors.haml @@ -1,4 +1,4 @@ - - - - - -