I have a table called settings. I created a controller for this as settings controller.
<?php
class SettingsController extends AppController {
....
....
}
?>
By default I have app controller
<?php
class AppController extends Controller {
....
....
}
?>
In app controller I put some logic in beforeFilter method which is common for all controllers, Now I have to user some logics in beforeFilter in settings controller. But, I am unable to do so.. If I put beforeFilter in settings controller it doesn't access logics from appController before filetr,
Can anyone advice regarding this?