[openstreetmap/openstreetmap-website] Modify the way "Friends" are added (PR #5261)
Anton Khorev
notifications at github.com
Thu Jan 2 10:23:39 UTC 2025
@AntonKhorev commented on this pull request.
> + before_action :check_database_writable, :only => [:create, :destroy, :edit]
+ before_action :lookup_friend, :only => [:create, :destroy, :edit]
Do you need `:only` here? It lists all of the actions.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5261#pullrequestreview-2527327817
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5261/review/2527327817 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250102/0f701eac/attachment-0001.htm>
More information about the rails-dev
mailing list