Please upgrade here.
These earlier versions are no longer being updated and have security issues.
Hi, I'm writing an Application that runs on Garden/Dashboard alongside Vanilla. I am trying to utilize some of the controllers that Vanilla has such as "Discussion/index". Is there a way for me to trigger this route without having to use "Redirect()" or "ProxyRequest()"? I thought that I may be able to do the following, but it did not work:
$proxy_url = Url('/vanilla/discussion/index/'.$DiscussionID.'?DeliveryType=3', FALSE);
$Dispatcher = Gdn::Dispatcher();
In other words, is there a "forward" function that works within Vanilla?