diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-25 09:08:33 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-25 09:08:33 -0800 |
| commit | 454a96f48fbfbf5764cf586c02539e2d01b56101 (patch) | |
| tree | 37f0b70e3eada21ec109ea14da9d23a581c91955 /modules/tag/helpers | |
| parent | 4c3b9e363ab1501bf3169d92f5606abf464c2d5e (diff) | |
Refactor the tags to remove the REST_Controller. Partial fix for ticket #917
Diffstat (limited to 'modules/tag/helpers')
| -rw-r--r-- | modules/tag/helpers/tag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php index feaf40c5..89a27034 100644 --- a/modules/tag/helpers/tag.php +++ b/modules/tag/helpers/tag.php @@ -101,7 +101,7 @@ class tag_Core { } static function get_add_form($item) { - $form = new Forge("tags", "", "post", array("id" => "g-add-tag-form", "class" => "g-short-form")); + $form = new Forge("tags/create/{$item->id}", "", "post", array("id" => "g-add-tag-form", "class" => "g-short-form")); $label = $item->is_album() ? t("Add tag to album") : ($item->is_photo() ? t("Add tag to photo") : t("Add tag to movie")); |
