[openstreetmap/openstreetmap-website] Move changeset comments feed to resourceful routes (PR #4587)
Anton Khorev
notifications at github.com
Fri Aug 23 15:55:58 UTC 2024
@AntonKhorev commented on this pull request.
> @@ -16,7 +16,7 @@ def initialize(user)
if Settings.status != "database_offline"
can [:index, :feed, :show], Changeset
- can :index, ChangesetComment
+ can :show, :changeset_comments_feed
You could have easily argued for the opposite thing, which I'm not going to do because I just want to move feeds out of the way of #4248.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4587#discussion_r1729190676
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4587/review/2257575768 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240823/26b40b0a/attachment.htm>
More information about the rails-dev
mailing list