use token in ability checks
authorChris Flipse <cflipse@gmail.com>
Fri, 8 Jun 2018 20:58:49 +0000 (16:58 -0400)
committerChris Flipse <cflipse@gmail.com>
Sun, 17 Jun 2018 17:56:23 +0000 (13:56 -0400)
commit6da3ece68354f77f626de8963770c0217048e19d
treeda29b43adecfb99d21fbee44e8b2cd1f714e5de1
parentb16aa11f65ed1120ee546712150ad6f57ec50102
use token in ability checks
app/controllers/application_controller.rb
app/models/ability.rb
test/models/abilities_test.rb [new file with mode: 0644]