Proper way to get path to small avatar
authorHerve Saint-Amand <git@saintamh.org>
Mon, 2 Jan 2017 21:35:59 +0000 (21:35 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Mon, 2 Jan 2017 21:35:59 +0000 (21:35 +0000)
commitab9aaf7e97b60d3dd8bbbd9867953637c05c0083
tree328a0ad098d333974014aff5b5a88ddb978f836c
parent7a4e13ecad1017a526950c60bfe674d4277632e7
Proper way to get path to small avatar

Rather than performing perilous string substitution on paths, just use the built-in way to select the small version of the avatar image file.
app/models/notifier.rb