projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made the results page 'modular,' and all the necessary adaptations.
[selectricity]
/
config
/
environment.rb
diff --git
a/config/environment.rb
b/config/environment.rb
index ba927343d1dc89aca7a36e7ee2b63e0eaadb4623..571638d14a3fc1a0ccefbce34442f8cbc1fa8fc0 100644
(file)
--- a/
config/environment.rb
+++ b/
config/environment.rb
@@
-63,8
+63,11
@@
MAIL_CONFIG = { :from => 'Selectricity <info@selectricity.media.mit.edu>'}
require 'uniq_token'
require 'randarray'
require 'uniq_token'
require 'randarray'
-require 'rubyvote'
require 'gruff'
require 'gruff'
+require 'sparklines'
+
+require 'rubyvote'
+ELECTION_TYPES = %w(ssd plurality approval condorcet borda)
class String
# alternate capitalization method that does not lowercase the rest of
class String
# alternate capitalization method that does not lowercase the rest of
Benjamin Mako Hill
||
Want to submit a patch?