diff options
Diffstat (limited to 'controllers/randimg.php')
| -rw-r--r-- | controllers/randimg.php | 14 |
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(); + } } |
