ProjectsController Store
Opened this issue · 4 comments
d3orn commented
improve the store method by adding some database rules instead of fetching sha and url and comparing them
d3orn commented
need testing and refactor big if into seperate methode parseProject() see pcStore branch
d3orn commented
I'd like to have a pair-debugging/refactoring session for this issue^^
d3orn commented
after the project gets added redirect to the projectpage
d3orn commented
validation and existingProject factor out, projectcreation refactoring to the create function of the projectmodel, remove the 'project allready in your system' message, move parseproject to project model, random & 'mongoname' getter into project model