Revoking administrator role on current user should fail
authormmd-osm <mmd.osm@gmail.com>
Tue, 19 Dec 2017 17:31:34 +0000 (17:31 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 19 Dec 2017 17:31:34 +0000 (17:31 +0000)
commite21c967fdd2999ebb81308cd08e3b5f99c94833b
tree0ff3a75baf7127f95c9ede41805eb70cf80f92dc
parent965123372d128d045951ddcc1e22b36038a88531
Revoking administrator role on current user should fail

Fixes #1697
Closes #1701
app/controllers/user_roles_controller.rb
config/locales/en.yml
test/controllers/user_roles_controller_test.rb