[openstreetmap/openstreetmap-website] Add status filter to user's note page (PR #5297)
Anton Khorev
notifications at github.com
Fri Nov 8 14:26:08 UTC 2024
@AntonKhorev commented on this pull request.
> @@ -6,6 +6,20 @@
:commented => tag.span(t(".subheading_commented"), :class => "px-2 py-1 bg-body") %></p>
<% end %>
+<%= form_with :url => url_for(:controller => "notes", :action => "index"), :method => :get, :data => { :turbo => true } do %>
Why `:url => url_for(:controller => ...)` and not `:url => user_notes_path(@user)`?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5297#pullrequestreview-2423950507
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5297/review/2423950507 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241108/6f058bf3/attachment.htm>
More information about the rails-dev
mailing list