diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-18 23:52:02 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-18 23:52:02 +0000 |
commit | 6e05e917df358275c5994ca17e27e7694f652510 (patch) | |
tree | 4bac0e0018466a21d50e075961b7fbe201131f89 /core | |
parent | e7ba49b69c41793ba2f3605d6a6b0f8d6588e1c4 (diff) |
Redirect item/NN requests to absolute urls
Diffstat (limited to 'core')
-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 e5f62db6..a7e184aa 100644 --- a/core/controllers/items.php +++ b/core/controllers/items.php @@ -25,6 +25,6 @@ class Items_Controller extends REST_Controller { // differently. We could also just delegate here, but it feels more appropriate // to have a single canonical resource mapping. access::required("view", $item); - return url::redirect($item->url()); + return url::redirect($item->url(array(), true)); } } |