Skip to content

Commit 18b5023

Browse files
authored
pluralize suggested namespaces
1 parent dcf4aa6 commit 18b5023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2020-06-24-the-command-pattern.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ In a codebase that frequently reuses commands outside of forms, or performs the
288288

289289
In this case maybe you have two forms that orchestrate the cancelation of a subscription.
290290

291-
* Admin cancels subscription (e.g `Forms::Admin::CancelSubscription`)
292-
* Customer cancels subscription (e.g `Forms::Customer::CancelSubscription`)
291+
* Admin cancels subscription (e.g `Forms::Admins::CancelSubscription`)
292+
* Customer cancels subscription (e.g `Forms::Customers::CancelSubscription`)
293293

294294
After some minor adjustment to hoist up any admin specific behavior, both of these form objects could call our underlying `Commands::CancelSubscription` command.
295295

0 commit comments

Comments
 (0)