forked from davetroy/votereport
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added email of nancy and dave to admin list
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|