summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-15 20:42:01 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-15 20:42:01 -0800
commit95e812067e573f57a0a00f7d6047f8330c74108c (patch)
tree262f86f93e4cc243b0c0be24e9053ebcc4f1fa88 /modules
parent7f5d5b047076f734c55d527cea93bb166ff676e6 (diff)
Change what is used as the url to the item.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/gallery_rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_rest.php b/modules/gallery/helpers/gallery_rest.php
index 6747bda8..865099af 100644
--- a/modules/gallery/helpers/gallery_rest.php
+++ b/modules/gallery/helpers/gallery_rest.php
@@ -37,7 +37,7 @@ class gallery_rest_Core {
"title" => $item->title,
"thumb_url" => $item->thumb_url(true),
"resize_url" => $item->resize_url(true),
- "url" => $item->abs_url(),
+ "url" => $item->file_url(true),
"description" => $item->description,
"internet_address" => $item->slug);