Commit 562bd01984cfabf1f5aabc21be86ab68ec420bea
1 parent
9537df8b
Exists in
master
readme
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
README.md
... | ... | @@ -41,6 +41,13 @@ LetterAvatar.generate 'ksz2k', 200 |
41 | 41 | => "public/system/letter_avatars/2/K/87_178_230/200.png" |
42 | 42 | ``` |
43 | 43 | |
44 | +There's also helper for this: | |
45 | + | |
46 | +```ruby | |
47 | +include LetterAvatar::AvatarHelper | |
48 | +letter_avatar_for('ksz2k', 200) | |
49 | +``` | |
50 | + | |
44 | 51 | ## Contributing |
45 | 52 | |
46 | 53 | 1. Fork it | ... | ... |