Hello all,
I’m getting a strange error where my Phoenix Router is going to the show action in the controller when the route points to the new action.
From the Router
resources "/organizations/:organization_id/network", NetworkMemberController, only: [:index, :show]
resources "/organizations/:organization_id/network", NetworkMemberController, only: [:new, :create, :edit, :update]
These are in separate places because I am piping them through different plugs to authorize the user
From the View
= link "New", to: Routes.network_member_path(@conn, :new, @organization.id)
For some reason it’s reading the /new in the URL bar as an :id
Any thoughts?