Clean up a deprecation warning and another warning.
[selectricity] / app / controllers / graph_controller.rb
index 814eb363c437a0074abea9113fdc7e30e4a1a455..ff29d8ecb91e742f3bcd7113a48c2db2116c36ad 100644 (file)
@@ -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?