diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-06-20 08:50:19 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-20 08:50:19 -0700 |
| commit | f6025026eb4798774044fcd12f0f09313073141a (patch) | |
| tree | dfdcec0e8e2186b48167821ea85292018d5c3ca2 /modules/rest/views/error_rest.json.php | |
| parent | d86d1a32e8fc0feeaea3fa29a07035e0edfc7b90 (diff) | |
Rename error_rest.php to error_rest.json.php so that we specify the
result type in the filename as is our convention for views.
Diffstat (limited to 'modules/rest/views/error_rest.json.php')
| -rw-r--r-- | modules/rest/views/error_rest.json.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/rest/views/error_rest.json.php b/modules/rest/views/error_rest.json.php new file mode 100644 index 00000000..c018378e --- /dev/null +++ b/modules/rest/views/error_rest.json.php @@ -0,0 +1,2 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<?= json_encode($e->response) ?>
\ No newline at end of file |
