projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df42676
)
Correct comment.
author
Tom Hughes
<tom@compton.nu>
Thu, 1 Oct 2009 20:24:53 +0000
(20:24 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 1 Oct 2009 20:24:53 +0000
(20:24 +0000)
app/models/user.rb
patch
|
blob
|
history
diff --git
a/app/models/user.rb
b/app/models/user.rb
index 95f0e39861906632d208883080f93d8c5f851cc7..6ec9e26e64ca56823f0004798880085e89aa3373 100644
(file)
--- a/
app/models/user.rb
+++ b/
app/models/user.rb
@@
-135,7
+135,7
@@
class User < ActiveRecord::Base
end
##
- # returns true if the user has the
mode
rator role, false otherwise
+ # returns true if the user has the
administ
rator role, false otherwise
def administrator?
has_role? 'administrator'
end