我想更改render
呼叫的视图路径(部分):
vp1 = ActionView::PathSet.new
vp1.prefixes << 'bla1'
render partial: 'abc', view_paths: vp1
vp2 = ActionView::PathSet.new
vp2.prefixes << 'bla2'
render partial: 'abc', view_paths: vp2
例如,prepend_view_paths
但对于 ONE render
。我该怎么做?