Use cancancan to authorize user_preference_controller
authorChris Flipse <cflipse@gmail.com>
Sat, 9 Jun 2018 23:53:45 +0000 (19:53 -0400)
committerChris Flipse <cflipse@gmail.com>
Sun, 17 Jun 2018 17:57:06 +0000 (13:57 -0400)
commit060c686c1923534d2899ee129cc740e0f2fa7c9f
treec5540a5714f7336b1ec7e3e0324aad101cfb88c0
parentac7c45bca036db2c5bfd692d77ff7f1da526955f
Use cancancan to authorize user_preference_controller
app/controllers/application_controller.rb
app/controllers/user_preferences_controller.rb
app/models/ability.rb
test/models/abilities_test.rb