Skip to content

Comments

Correct 500 error on topics#show and topics#destroy#69

Open
lfzawacki wants to merge 11 commits intophusion:masterfrom
lfzawacki:master
Open

Correct 500 error on topics#show and topics#destroy#69
lfzawacki wants to merge 11 commits intophusion:masterfrom
lfzawacki:master

Conversation

@lfzawacki
Copy link

The methods show! and destroy! were invalid in the topics controller, they were probably intended to be used with a gem like 'inherited_resources' but instead of adding it I just rewrote the methods without it. I included some tests for the controller to make sure I'm not breaking anything.

Also while running the tests I found that 'db:seed' failed because the data was an invalid devise user, so I just made a little correction to the data there.

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

Successfully merging this pull request may close these issues.

2 participants