[openstreetmap/openstreetmap-website] Replace page numbers with ID based selection for trace indexes (PR #4089)
Tom Hughes
notifications at github.com
Wed Jul 19 17:27:05 UTC 2023
@tomhughes commented on this pull request.
> @@ -8,51 +8,27 @@ def test_routes
{ :path => "/traces", :method => :get },
{ :controller => "traces", :action => "index" }
)
- assert_routing(
- { :path => "/traces/page/1", :method => :get },
- { :controller => "traces", :action => "index", :page => "1" }
- )
Oh that might work sure, what I was looking for was away to do it with assert_routing/assert_recognizes rather than going through the whole stack.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4089#discussion_r1268400430
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4089/review/1537610187 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230719/415e0fd8/attachment.htm>
More information about the rails-dev
mailing list