This is for pages accessed by following unsubscribe links from comment notification emails, not for subscribe/unsubscribe buttons on changeset pages.
Changes `/changeset/:id/subscribe` and `/changeset/:id/unsubscribe` to `/changeset/:id/subscription`, similar to #5261. Now there's a subscription resource, you can get/post/delete at its path. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5535 -- Commit Summary -- * Create changeset subscription resource -- File Changes -- M app/abilities/ability.rb (2) A app/controllers/changeset_subscriptions_controller.rb (38) M app/controllers/changesets_controller.rb (31) M app/mailers/user_mailer.rb (6) R app/views/changeset_subscriptions/_heading.html.erb (0) A app/views/changeset_subscriptions/no_such_entry.html.erb (5) A app/views/changeset_subscriptions/show.html.erb (12) D app/views/changesets/no_such_entry.html.erb (5) D app/views/changesets/subscribe.html.erb (12) D app/views/changesets/unsubscribe.html.erb (12) M app/views/user_mailer/changeset_comment_notification.html.erb (2) M app/views/user_mailer/changeset_comment_notification.text.erb (2) M config/locales/en.yml (26) M config/routes.rb (8) A test/controllers/changeset_subscriptions_controller_test.rb (150) M test/controllers/changesets_controller_test.rb (129) M test/mailers/user_mailer_test.rb (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5535.patch https://github.com/openstreetmap/openstreetmap-website/pull/5535.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5535 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev