I have a comments widget and when someone adds a comment via ajax (url is sent to the Comment controller) I want it to return the widgets comment render view
How do I do this?
I have a comments widget and when someone adds a comment via ajax (url is sent to the Comment controller) I want it to return the widgets comment render view
How do I do this?
have you tried RenderPartial ?
Was wondering what the path would be to the file but have sorted it now
renderPartial('application.components.views.item');
cheers