From: Date: Mon, 6 Aug 2007 23:56:39 +0000 (-0400) Subject: Modified the methods in graphs controller so they would work for Selectricity, but... X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/277d9e323c1c9c525c1cea4590dc71bc56aeed06?hp=277d9e323c1c9c525c1cea4590dc71bc56aeed06 Modified the methods in graphs controller so they would work for Selectricity, but can't get them to successfully display yet. It seems that the 'url_for' helper might not be able to handle a :controller an argument. It doesn't throw an error, just displays nothing. I also removed various deprecated methods and replaced them with their updated counterparts in site_controller, and in some of the views. In addition I modified the confirm method in the QuickVote controller to save the time of the vote. I also changed what the voter.ip was logging because it wasn't working. Currently it says request.env["BLAH"] because I'm trying to vote multiple times in the same election for testing (not sure that jsut cahgnign the ip save feature is allowing that) but it will have to be request.env["REMOTE_ADDR"] in the long run. This is on line 108 of the QuickVote controller. ---