-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have an old endpoint I want to quietly combine with a new one. Here's what I tried to do:
Old router:
router.draw(
Routes::Badges,
base: "/badges",
actions: [
ci_status: { method: :get, url: "/ci_status" },
compatibility_score: { method: :get, url: "/compatibility_score" },
],
)
Attempted new router:
router.draw(
Routes::Badges,
base: "/badges",
actions: [
compatibility_score: [
{ method: :get, url: "/compatibility_score" },
{ method: :get, url: "/ci_status" },
],
],
)
It would be rad if that worked. Any reason not to support it / preferred alternative?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels