summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-20 08:50:19 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-20 08:50:19 -0700
commitf6025026eb4798774044fcd12f0f09313073141a (patch)
treedfdcec0e8e2186b48167821ea85292018d5c3ca2 /modules
parentd86d1a32e8fc0feeaea3fa29a07035e0edfc7b90 (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')
-rw-r--r--modules/rest/libraries/Rest_Exception.php2
-rw-r--r--modules/rest/views/error_rest.json.php (renamed from modules/rest/views/error_rest.php)0
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/libraries/Rest_Exception.php b/modules/rest/libraries/Rest_Exception.php
index 1257e3cf..087da939 100644
--- a/modules/rest/libraries/Rest_Exception.php
+++ b/modules/rest/libraries/Rest_Exception.php
@@ -32,6 +32,6 @@ class Rest_Exception_Core extends Kohana_Exception {
}
public function getTemplate() {
- return "error_rest";
+ return "error_rest.json";
}
} \ No newline at end of file
diff --git a/modules/rest/views/error_rest.php b/modules/rest/views/error_rest.json.php
index c018378e..c018378e 100644
--- a/modules/rest/views/error_rest.php
+++ b/modules/rest/views/error_rest.json.php