CakePHP Controller Action not Rendering
I have a CakePHP Action that is not rendering it's view, however the
action is being executed.
I have the controller VoteTagsController with the action alltags()
App::uses('AppController', 'Controller');
class VoteTagsController extends AppController {
public function index(){
$this->set('allVoteTags', $this->VoteTag->find('all'));
}
public function alltags(){
echo "Running";
echo "Test";
}
}
The view exsists also in /View/VoteTags/alltags.ctp
I've tried everything but cannot get this view to render I just get a
white page, no errors.
Changing the name of the controller however and refreshing sends me to an
Error Not Found page which indicates the action is being fired but not
rendered.
Any ideas?
No comments:
Post a Comment