projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce XMLRPC API files. It is not currently functional, but it doesn't break...
[selectricity-live]
/
app
/
controllers
/
selectricity_service_controller.rb
diff --git a/app/controllers/selectricity_service_controller.rb
b/app/controllers/selectricity_service_controller.rb
new file mode 100644
(file)
index 0000000..
e1f9f98
--- /dev/null
+++ b/
app/controllers/selectricity_service_controller.rb
@@ -0,0
+1,4
@@
+class SelectricityServiceController < ApplicationController
+ web_service_dispatching_mode :delegated
+ web_service :vote, SelectricityService.new
+end
Benjamin Mako Hill
||
Want to submit a patch?