diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-24 08:54:03 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-24 08:54:03 +0000 |
commit | 226dc45203b043c80884cc13f57e4d9505ef968d (patch) | |
tree | ac056b35a7f490c0af4ff5cce3ad4b77d2d985c9 | |
parent | b60e3e13a4677541bfd2fcd80dfd782e26201aa8 (diff) |
Fix a typo in _show() that broke proper redirection
-rw-r--r-- | core/controllers/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/items.php b/core/controllers/items.php index 705ecbfb..13071843 100644 --- a/core/controllers/items.php +++ b/core/controllers/items.php @@ -45,7 +45,7 @@ class Items_Controller extends REST_Controller { // Redirect to the more specific resource type, since it will render // differently. We could also just delegate here, but it feels more appropriate // to have a single canonical resource mapping. - return url::redirect("{$item->type}s}/$item->id"); + return url::redirect("{$item->type}s/$item->id"); } public function _create($item) { |