summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www/handler/battlemap/load_state.yaws')
-rw-r--r--www/handler/battlemap/load_state.yaws8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/handler/battlemap/load_state.yaws b/www/handler/battlemap/load_state.yaws
new file mode 100644
index 0000000..c778b66
--- /dev/null
+++ b/www/handler/battlemap/load_state.yaws
@@ -0,0 +1,8 @@
+<erl>
+out(A) ->
+ {
+ content,
+ "application/json; charset=UTF-8",
+ battlemap_load_state:handle(A#arg.clidata)
+ }.
+</erl>