Cleanup
Cleanup / Refactor
General Changes
- Code is formatted using the java code linter
- Where possible, methods are extracted to improve readability
Specific Changes
- Extracted an abstract class to remove duplicated code in the post create / edit views
- Used mongo repository interface methods to avoid looping over collections in the controllers