Closed minrwhite closed 8 years ago
I'm glad you like my code! Jumping in on an issue like this has been really good to get an overview of how a play framework based app functions.
The blockUser method is a stub in place of performing the actual block, probably to be worked on as part of issue #15 as currently no blocking takes place (requires database schema changes etc.) Assuming that the change has taken place, the user is then redirected back to the page of the lab they were viewing. Does that make sense?
On that action the BlockUserForm could be received? (Like a pending TODO)
But you really made a good job here, thank you!
Yes, exactly like that. In fact there's a TODO comment in the body of the function that I intended to say as much!
Merged! :sunglasses:
Closes #14
What side effects does this change have?
This is a relatively small change, and I do not believe it will have any side-effects.