diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-29 18:23:23 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-29 18:23:23 +0200 |
| commit | d35246bf1bc1b8a2aacf038ba4835dd12fcad4ed (patch) | |
| tree | 26d66d97b20e444bbcf298248947be4dcb771b67 /static/classes | |
| parent | e39a920f6d41f8d90470f15c4a58f6abebbace92 (diff) | |
Improve consistency by resorting Response.send()
This restores the typical sorting order:
- csv
- (gyazo)
- text
- html
- default (json)
Diffstat (limited to 'static/classes')
| -rwxr-xr-x | static/classes/Response.class.php | 6 |
1 files 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; |
