Closed sohilpandya closed 6 years ago
@sohilpandya Thanks for raising an issue we were already planning some restructuring of the "controllers" directory and move the above files into a "helpers" one.
What about the requireLogin file, do you think it should be moved as well? All the other files contain get and post functions for each of the pages?
Keep require login file inside the controller. 👍
The controller directory should contain information related to the controllers that are being handled by endpoints, in our case I've found a few files that don't deal with that scenario.
passwordModule
helper
validate
check_email
Where do you think these files belong?