-
- Downloads
Fix "Unsubscribe" link in notification emails that is triggered by anti-virus
* Created a force=true param that will continue with the previous behaviour of the unsubscribe method * Created a filter for not-logged users so they see a unsubsribe confirmation page * Added the List-Unsubscribe header on emails so the email client can display it on top
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/controllers/sent_notifications_controller.rb 4 additions, 0 deletionsapp/controllers/sent_notifications_controller.rb
- app/mailers/notify.rb 6 additions, 0 deletionsapp/mailers/notify.rb
- app/views/layouts/notify.html.haml 2 additions, 2 deletionsapp/views/layouts/notify.html.haml
- app/views/sent_notifications/unsubscribe.html.haml 4 additions, 0 deletionsapp/views/sent_notifications/unsubscribe.html.haml
- spec/controllers/sent_notifications_controller_spec.rb 90 additions, 13 deletionsspec/controllers/sent_notifications_controller_spec.rb
- spec/features/unsubscribe_links_spec.rb 54 additions, 0 deletionsspec/features/unsubscribe_links_spec.rb
- spec/mailers/notify_spec.rb 5 additions, 5 deletionsspec/mailers/notify_spec.rb
- spec/mailers/shared/notify.rb 8 additions, 0 deletionsspec/mailers/shared/notify.rb
Loading
Please register or sign in to comment