-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
Phoenix defines routes which are dispatched to controller:functions.
In these modules, it sets use MyAppWeb, :controller
The functions expect 2 arguments:
def get(conn, params) do
This rule warns when ignoring the second:
def counters(conn, _params) do
To Reproduce
Ignore the second argument in a controller function in a Phoenix app.
Expected Behavior
Or ignore those or clarify if those should be manually ignored
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working