From d35246bf1bc1b8a2aacf038ba4835dd12fcad4ed Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Tue, 29 Sep 2015 16:23:23 +0000 Subject: Improve consistency by resorting Response.send() This restores the typical sorting order: - csv - (gyazo) - text - html - default (json) --- static/classes/Response.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php index c8ddfa2..48d9311 100755 --- a/static/classes/Response.class.php +++ b/static/classes/Response.class.php @@ -80,15 +80,15 @@ class Response $response = null; switch ($this->type) { - case 'html': - $response = $this->html_success($files); - break; case 'csv': $response = $this->csv_success($files); break; case 'text': $response = $this->text_success($files); break; + case 'html': + $response = $this->html_success($files); + break; default: $response = $this->json_success($files); break; -- cgit v1.2.3