From 37e82a433cd09995988bc52e5cc23f35860fcd69 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sun, 9 Jan 2011 17:37:23 +0000 Subject: Overhaul of module, with a good many changes suggested by danneh3826 on the gallery forum. --- controllers/randimg.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'controllers') diff --git a/controllers/randimg.php b/controllers/randimg.php index 00f95a7..04ee1d1 100644 --- a/controllers/randimg.php +++ b/controllers/randimg.php @@ -17,13 +17,13 @@ class randimg_Controller extends Controller { - protected $resource_type = "randimg"; + protected $resource_type = "randimg"; - public function index() { - // Far from perfection, but at least require view permission for the root album - $album = ORM::factory("item", 1); - access::required("view", $album); - print randimg::randimg_link(); - } + public function index() { + // Far from perfection, but at least require view permission for the root album + $album = ORM::factory("item", 1); + access::required("view", $album); + print randimg::randimg_link(); + } } -- cgit v1.2.3