summaryrefslogtreecommitdiff
path: root/controllers/randimg.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2011-01-09 17:37:23 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2011-01-09 17:37:23 +0000
commit37e82a433cd09995988bc52e5cc23f35860fcd69 (patch)
tree7ed02c364b0b0bdce4e0eda296a202d32cfd99b2 /controllers/randimg.php
parent2cdc3b76dc51d4d7a7675117974ce3c6b004cb63 (diff)
Overhaul of module, with a good many changes suggested by danneh3826 on the gallery forum.
Diffstat (limited to 'controllers/randimg.php')
-rw-r--r--controllers/randimg.php14
1 files changed, 7 insertions, 7 deletions
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();
+ }
}