Is there a way to access rails URL helpers inside stimulus?

后端 未结 0 772
梦谈多话
梦谈多话 2020-12-08 06:30

right now I have something like this

Rails.ajax({
  type: "post",
  url: `/places/${placeId}/likes`,
  succes         


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