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