How to put partial in seperate dictionary in Jbuilder Rails?

前端 未结 0 1309
孤街浪徒
孤街浪徒 2021-02-07 02:26

I have a a json.jbuilder that has json.template render partial: "partials/#{notification.action}", locals: {notification: notification}. I want this parti

相关标签:
回答
  • 消灭零回复
提交回复
热议问题