Rename api changesets index action

This commit is contained in:
Anton Khorev 2024-03-30 08:26:58 +03:00
parent 50df5eefcc
commit 765165777e
4 changed files with 44 additions and 44 deletions

View file

@ -51,11 +51,11 @@ module Api
)
assert_routing(
{ :path => "/api/0.6/changesets", :method => :get },
{ :controller => "api/changesets", :action => "query" }
{ :controller => "api/changesets", :action => "index" }
)
assert_routing(
{ :path => "/api/0.6/changesets.json", :method => :get },
{ :controller => "api/changesets", :action => "query", :format => "json" }
{ :controller => "api/changesets", :action => "index", :format => "json" }
)
end