Skip to content

Commit

Permalink
Fix typo on Action Control Flow Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Erol committed May 6, 2016
1 parent 4dc997d commit 46daa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/guides/actions/control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Guides - Action Control Flow
If we want to execute some logic before and/or after `#call` is executed, we can use a callback.
Callbacks are useful to declutter code for common tasks like checking if a user is signed in, set a record, handle 404 responses or tidy up the response.

The correspoding DSL methods are `before` and `after`.
The corresponding DSL methods are `before` and `after`.
These methods each accept a symbol that is the name of the method that we want to call, or an anonymous proc.

### Methods
Expand Down

0 comments on commit 46daa79

Please sign in to comment.