summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2009-12-05 16:31:54 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2009-12-05 16:31:54 +0000
commit934c6efcf6235f65994a143b7baf0616a5cb123c (patch)
tree077e9c2ec38763f21a217ed565671679d10326d2
parent65684fa3a9f9ff5cea918b75ba31684a0049a9f9 (diff)
Fix controller to work with new upstream module interface changes.
-rw-r--r--controllers/randimg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/randimg.php b/controllers/randimg.php
index 3045f22..00f95a7 100644
--- a/controllers/randimg.php
+++ b/controllers/randimg.php
@@ -15,11 +15,11 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class randimg_Controller extends REST_Controller {
+class randimg_Controller extends Controller {
protected $resource_type = "randimg";
- public function _index() {
+ 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);