render partial of another namespace
问题 I have a problem. I need to render objects using partials of another namespace. render complain.target it tryes to render partial from current namespace(current is admin ) Missing partial admin/bulletins/bulletin... I dont need to render it from admin/.. I cant specify partial path like render partial: '/bulletins/bulletin', locals: { bulletin: complain.target } But it's polymorphic association, and different partial pathes are used. Is it any way to do it? Thanks in advance! 回答1: There seems