Skip to content

Commit

Permalink
added email of nancy and dave to admin list
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Nov 2, 2008
1 parent 126e8b4 commit 8c85da7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ def viewed_alert!(reviewer_alert)
# override the +is_admin+ attribute to allow us to specify email addresses
# that belong to those working on the site
# (This way we don't have a chicken-or-egg issue to set the first admin)
ADMIN_EMAIL_ADDRESSES = ["[email protected]", "[email protected]"]
ADMIN_EMAIL_ADDRESSES =
["[email protected]", # cory forsyth
"[email protected]", # billy gray
"[email protected]", # nancy scola
"[email protected]" # dave troy
]
def is_admin?
super || ADMIN_EMAIL_ADDRESSES.include?(email)
end
Expand Down

0 comments on commit 8c85da7

Please sign in to comment.