projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rebranded from votingbooth to hyperchad
[selectricity]
/
config
/
environment.rb
diff --git
a/config/environment.rb
b/config/environment.rb
index dcc9fad3b4ee5a7d2a514c3533ba74394ad85b31..66e5c62f960f2bd1e11a4211fcd8a0ebb1151555 100644
(file)
--- a/
config/environment.rb
+++ b/
config/environment.rb
@@
-50,13
+50,23
@@
end
# inflect.uncountable %w( fish sheep )
# end
# inflect.uncountable %w( fish sheep )
# end
-MAIL_CONFIG = { :from => '
VotingBooth <info@votingbooth.mako.cc
>'}
+MAIL_CONFIG = { :from => '
HyperChad <info@hyperchad.media.mit.edu
>'}
# Include your application configuration below
require 'uniq_token'
require 'randarray'
require 'rubyvote'
# Include your application configuration below
require 'uniq_token'
require 'randarray'
require 'rubyvote'
+class String
+ def capitalize
+ if self.length <= 1
+ self.upcase
+ else
+ self.split(//)[0].upcase + self..split(//)[1..-1].join("")
+ end
+ end
+end
+
module LoginEngine
config :salt, "voothingboat"
config :email_from, MAIL_CONFIG[:from]
module LoginEngine
config :salt, "voothingboat"
config :email_from, MAIL_CONFIG[:from]
Benjamin Mako Hill
||
Want to submit a patch?