From 3a96e883674dd6b8408e75fde6614fa4e1d143d0 Mon Sep 17 00:00:00 2001 From: "Rogelio J. Samour" Date: Mon, 16 Oct 2017 10:09:03 -0700 Subject: [PATCH] Include :deploy namespace in block example Small tweak to the documentation on before/after hooks. --- .../getting-started/before-after/index.markdown | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/documentation/getting-started/before-after/index.markdown b/docs/documentation/getting-started/before-after/index.markdown index f07171e5..c9839617 100644 --- a/docs/documentation/getting-started/before-after/index.markdown +++ b/docs/documentation/getting-started/before-after/index.markdown @@ -13,12 +13,14 @@ after :finishing, :notify # or define in block -before :starting, :ensure_user do - # -end +namespace :deploy do + before :starting, :ensure_user do + # + end -after :finishing, :notify do - # + after :finishing, :notify do + # + end end ```