Passing javascript variable to erb link as a parameter in ruby 2.2.4
I want to pass a js variable to erb "link_to" tag as a parameter in ruby without using ajax method, both code are in same view file only, i am not using any form here. how can i pass js variable to erb code?
Aucun commentaire:
Enregistrer un commentaire