diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-01 19:44:29 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-01 19:44:29 -0800 |
commit | c803cb29091d3b069077d7711a2485f75f274835 (patch) | |
tree | f0ebcdacf6d749e6e2ebc47be4634a7eb13c2d5d /modules/gallery/helpers/MY_url.php | |
parent | 53df0df0a4f9d2d5369016a7e2ea983ffe202346 (diff) | |
parent | 6fa880777cb3b61c0e380ebd5e7b83de55a8d6d4 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/helpers/MY_url.php')
-rw-r--r-- | modules/gallery/helpers/MY_url.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/helpers/MY_url.php b/modules/gallery/helpers/MY_url.php index a2b2e461..74284951 100644 --- a/modules/gallery/helpers/MY_url.php +++ b/modules/gallery/helpers/MY_url.php @@ -35,7 +35,8 @@ class url extends url_Core { if ($item && $item->loaded()) { Router::$controller = "{$item->type}s"; Router::$controller_path = MODPATH . "gallery/controllers/{$item->type}s.php"; - Router::$method = $item->id; + Router::$method = "show"; + Router::$arguments = array($item); } } |