diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-25 12:41:01 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-25 12:46:04 -0800 |
commit | 2d5c232c42ea52e0c1115dd93edafecf1978fbfe (patch) | |
tree | d623dee31d6cf265f2dd09f5083d75ab5a2aae50 /modules/gallery/helpers/photo.php | |
parent | 0bf81f0381ddde2efde55b10e2d73dfdbdca1e73 (diff) |
Refactor the album, movie and photo handling to remove the REST_Controller. Partial fix for ticket #917
Diffstat (limited to 'modules/gallery/helpers/photo.php')
-rw-r--r-- | modules/gallery/helpers/photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php index 01cf5278..3f41097c 100644 --- a/modules/gallery/helpers/photo.php +++ b/modules/gallery/helpers/photo.php @@ -157,7 +157,7 @@ class photo_Core { } static function get_edit_form($photo) { - $form = new Forge("photos/$photo->id", "", "post", array("id" => "g-edit-photo-form")); + $form = new Forge("photos/update/$photo->id", "", "post", array("id" => "g-edit-photo-form")); $form->hidden("_method")->value("put"); $group = $form->group("edit_item")->label(t("Edit Photo")); $group->input("title")->label(t("Title"))->value($photo->title); |