- actions and notifications refactor #88
Reference in New Issue
Block a user
Delete Branch "actions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I changed the event-based to the action-based system for vacation request acceptation flow. I also merged some notifications into more general ones
@@ -0,0 +38,4 @@}$vacationRequest->user->notify(new VacationRequestStatusChangedNotification($vacationRequest, $vacationRequest->user));}Some actions have similar notify method, maybe we can move that into service or notify action.
@@ -0,0 +38,4 @@}$vacationRequest->user->notify(new VacationRequestStatusChangedNotification($vacationRequest, $vacationRequest->user));}I'm not sure if it's a good idea for now. There are only 3 places like this and they may change in different ways in the future.