diff options
-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 6fc11f76..a5dd5f1e 100644 --- a/core/controllers/items.php +++ b/core/controllers/items.php @@ -88,7 +88,7 @@ class Items_Controller extends REST_Controller { $this->input->post("title", $this->input->post("name")), $this->input->post("description"), $owner_id); - url::redirect("{$new_item->type}s/{$new_item->id}"); + url::redirect("photos/{$photo->id}"); } break; } |