Skip to content

Commit 79e5702

Browse files
committed
fix: rename route search to query
1 parent e1c9bc1 commit 79e5702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/routes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
delete ':collection/:id', to: router
6060
delete ':collection', to: router
6161

62-
post ':collection/search' => 'resources#index'
63-
post ':collection/search/count' => 'resources#count'
62+
post ':collection/query' => 'resources#index'
63+
post ':collection/query/count' => 'resources#count'
6464

6565
draw(:actions)
6666

0 commit comments

Comments
 (0)