diff options
Diffstat (limited to 'app/models/role.rb')
-rw-r--r-- | app/models/role.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/role.rb b/app/models/role.rb index 790b0426c..2db77a1a0 100644 --- a/app/models/role.rb +++ b/app/models/role.rb @@ -204,8 +204,8 @@ private end def check_deletable - raise "Can't delete role" if members.any? - raise "Can't delete builtin role" if builtin? + raise "Cannot delete role" if members.any? + raise "Cannot delete builtin role" if builtin? end def self.find_or_create_system_role(builtin, name) |