]> projects.mako.cc - selectricity-live/blob - old_api_code/selectricity_service_controller.rb
Add links to create new election/quick vote on the account summary screen.
[selectricity-live] / old_api_code / selectricity_service_controller.rb
1 # Selectricity: Voting Machinery for the Masses
2 # Copyright (C) 2007, 2008 Benjamin Mako Hill <mako@atdot.cc>
3 # Copyright (C) 2007 Massachusetts Institute of Technology
4 #
5 # This program is free software. Please see the COPYING file for
6 # details.
7
8 class SelectricityServiceController < ApplicationController
9   web_service_dispatching_mode :delegated
10   web_service :vote, SelectricityService.new
11 end

Benjamin Mako Hill || Want to submit a patch?