Expose User#avatar for mass-assignment
authorMarius Mathiesen <marius@gitorious.org>
Tue, 26 Feb 2013 12:47:24 +0000 (13:47 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Tue, 26 Feb 2013 12:48:40 +0000 (13:48 +0100)
commit69e44b6dc4aca2dd20541af5f22b7382481f7679
tree75d146c87ee5e6778562ee5f3dc7e6a3c42ba759
parentff68cf27ee1e2c1e87d542046bb24cdc3e82b724
Expose User#avatar for mass-assignment

This resolves a bug where a user's avatar wasn't updated after we
introduced white-listing of model attributes a few weeks back.
app/models/user.rb