Jaxel
Well-known member
For my article system, I'm trying to get article threads to be in the
I know I could just cut and paste the entire contents of
So I tried this:
But then I released that this doesn't work either, because
So is there a good way to do what I am trying to do, without just copying the entire action?
articles/
route, instead of threads/
.I know I could just cut and paste the entire contents of
XF:Thread->actionIndex()
to my action... but I was hoping not to do this because it wouldn't degrade gracefully in the event that XF:Thread->actionIndex()
receives changes during XF2 upgrades.So I tried this:
Code:
public function actionArticle(ParameterBag $params)
{
return $this->rerouteController('XF:Thread', 'index', $params);
}
But then I released that this doesn't work either, because
XF:Thread->actionIndex()
asserts canonical URLs.So is there a good way to do what I am trying to do, without just copying the entire action?