[openstreetmap/openstreetmap-website] Modify the way "Friends" are added (PR #5261)

David Tsiklauri notifications at github.com
Fri Jan 10 13:18:41 UTC 2025


@nertc commented on this pull request.



> +  before_action :check_database_writable, :only => [:create, :destroy, :edit]
+  before_action :lookup_friend, :only => [:create, :destroy, :edit]

`:only` was removed

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910367894
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5261/review/2542423696 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250110/2da3981d/attachment-0001.htm>


More information about the rails-dev mailing list