projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up a deprecation warning and another warning.
[selectricity]
/
app
/
controllers
/
graph_controller.rb
diff --git
a/app/controllers/graph_controller.rb
b/app/controllers/graph_controller.rb
index 814eb363c437a0074abea9113fdc7e30e4a1a455..ff29d8ecb91e742f3bcd7113a48c2db2116c36ad 100644
(file)
--- a/
app/controllers/graph_controller.rb
+++ b/
app/controllers/graph_controller.rb
@@
-133,7
+133,7
@@
class GraphController < ApplicationController
data[names[candidate]] = votes
end
- pie = GruffGraff.new
( :graph_type => Gruff::Pie,
+ pie = GruffGraff.new( :graph_type => Gruff::Pie,
:title => "Percentage of First Place Votes",
:data => data)
send_data(*pie.output)
Benjamin Mako Hill
||
Want to submit a patch?