Skip to content

Commit

Permalink
Merge pull request #433 from mikegee/patch-1
Browse files Browse the repository at this point in the history
typo in README menthod -> method
  • Loading branch information
nashby committed Jan 21, 2013
2 parents 0efa040 + 74f39d7 commit 9d1238c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def show
end
```

In the view, you can use the decorator in exactly the same way as you would have used the model. But whenever you start needing logic in the view or start thinking about a helper menthod, you can implement a method on the decorator instead.
In the view, you can use the decorator in exactly the same way as you would have used the model. But whenever you start needing logic in the view or start thinking about a helper method, you can implement a method on the decorator instead.

Let's look at how you could convert an existing Rails helper to a decorator method. You have this existing helper:

Expand Down

0 comments on commit 9d1238c

Please sign in to comment.