Multiple actions on same route path

When I run mix routes.phx I get the following route:
web_path PUT /web_items WebApp.WebController :set_active

How do I set more than one action, i.e. along with :set_active also :set_inactive etc?

How would the router decide which path to pick?

1 Like

Your question immediately helped me find the answer, thank you.

1 Like