Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
19 Posts 3314 Views
I need to add another allowed_action to my BlogHolder_Controller.. i try to use Object::useCustomClass('BlogHolder_Controller','BlogHolderControllerExtender') and i get the error
"Action 'showCategory' isn't allowed on class BlogHolder_Controller"
BlogHolderControllerExtender extends BlogHolder_Controller. can anyone tell me the right way to do this?
I know this thread is old *March 9, 2010* but I figured it might help if I share what worked for me.
@ChrisBryer You probably eventually figured it out, but it looks like you used:
When instead you should have used:
I did that and it works for me. Hope that helps someone :)
Have you see if there are spaces at the end of config?