Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to implement Repo.delete/2 & Repo.update/2 correctly #3

Open
amos-kibet opened this issue Oct 12, 2022 · 1 comment
Open
Assignees

Comments

@amos-kibet
Copy link
Owner

Context & Struct have these functions implemented "correctly".

The delete action in the controller uses the delete API implemented in the context, but I get this error whenever I click on the delete button: "no function clause matching in ElixerWeb.CompanyController.show/2".

The edit action for update fails with the same error.

I don't understand why. I seem to have done everything right.

If you see this issue, and have a clue, ping me and I will set up a call and explain/walk you through the code, and maybe we get to catch that bug👻, and 🎯 it to the wall, who knows😅

@shadmeoli
Copy link

#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants