add functionality is not linked with 'LeaveSummary', but instead should be linked to LeavesController and associated model. Apply RESTful convention here