[Rails] Re: How to construct unsubscribe link?
Thanks for the quick response :)
22 юли 2012, неделя, 15:14:13 UTC+3, Андрей Большов написа:
You should look at Devise gem Token Authenticatable solution as example.--You just add "?auth_token=#{@user.auth_token} " to your unsubsribe url.
воскресенье, 22 июля 2012 г., 15:06:58 UTC+4 пользователь Tsvetelina Borisova написал:Hello. In my app I send emails to tell that the user has certificate and I want to put a link - Unsubscribe. I don't know how to construct this link so that there won't be users that unsubscribe other users. I mean I want to make that is safe. I look in the web for how these unsubscribe links are made but I couldn't find anything. Can someone help me? Thanks in advance
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/L46k5wCBkEsJ.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home