Add lowercase variant for old v2 route
This commit is contained in:
parent
1988bbf70b
commit
b0616e3b08
|
@ -31,6 +31,7 @@ module YiffRestRoutes
|
||||||
get(:browserconfig, constraints: { format: "xml" })
|
get(:browserconfig, constraints: { format: "xml" })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
get("/v2/(*category)", action: :index, controller: "api_v2") # TODO: make routes case insensitive
|
||||||
get("/V2/(*category)", action: :index, controller: "api_v2")
|
get("/V2/(*category)", action: :index, controller: "api_v2")
|
||||||
root(to: "home#index")
|
root(to: "home#index")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user