Use CanCanCan for messages controller
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 9 Jan 2019 14:27:29 +0000 (15:27 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 9 Jan 2019 14:27:29 +0000 (15:27 +0100)
commit425f42dd8008d9962c7bee0cadfbdcf33e1f4f95
treed35fd4e28950350798348dc46ca41781f7df43bb
parentfac3f0ef2435ff1f4393c81cc9cf4113ff6a5bdb
Use CanCanCan for messages controller
app/abilities/ability.rb
app/controllers/messages_controller.rb