[openstreetmap/openstreetmap-website] Enable erb-no-instance-variables-in-partials lint rule (PR #6921)
Tom Hughes
notifications at github.com
Wed Mar 25 10:43:00 UTC 2026
@tomhughes commented on this pull request.
> @@ -11,15 +11,15 @@
<div class="col">
<h1><%= @title %></h1>
- <%= render :partial => "navigation" %>
+ <%= render "navigation", :user => @user, :languages => @languages || [] %>
That is a better solution, yes.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6921#discussion_r2987324940
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6921/review/4005672437 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260325/a3ddafe4/attachment.htm>
More information about the rails-dev
mailing list