Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

How to render view from service not from controllers?

We are using the Vanilla-forum to build our platform. So I have a requirement, that I have to fetch the comments for a single discussion after when the single discussion page completely loads through ajax. I am able to fetch the comments but can't able to send it back to the render the view. Then the comments section will render from the ajax to the discussion's page. But we are using services folder where we are preparing/rearranging our data to return data directly to the controllers. So, my question here is I didn't found any way to render the view inside my services folder.
Thanks in advance!


Sign In or Register to comment.