silence
Well-known member
So here is my actionIndex:
However, when I do put a parameter in the URL '/monkey/test/' it tells me it cannot find that action defined.
While that normally makes sense, how would I make it redirect to actionSection if there is something there, since the way I'm doing it isn't working
Thanks!
Code:
public function actionIndex()
{
$sectionId = $this->_input->filterSingle('section_id', XenForo_Input::STRING);
if ($sectionId)
{
return $this->responseReroute(__CLASS__, 'section');
}
$this->canonicalizeRequestUrl(
XenForo_Link::buildPublicLink('monkey')
);
$viewParams = array();
return $this->responseView('monkey_ViewPublic_Index', 'monkey_index', $viewParams);
}
However, when I do put a parameter in the URL '/monkey/test/' it tells me it cannot find that action defined.
While that normally makes sense, how would I make it redirect to actionSection if there is something there, since the way I'm doing it isn't working
Thanks!