@@ -163,16 +168,19 @@ class DuelsController < ApplicationController
main=@duel.user2_main
extra=@duel.user2_extra
end
respond_todo|format|
format.html{render:text=>(["#created by ...","#main"]+main.collect{|card|card.number}+["#extra"]+extra.collect{|card|card.number}+["!side"]).join("\r\n")}
format.ydk{render:text=>(["#created by ...","#main"]+main.collect{|card|card.number}+["#extra"]+extra.collect{|card|card.number}+["!side"]).join("\r\n")}
format.html{render:text=>(["#created by ...","#main"]+main.collect{|card|card.number}+["#extra"]+extra.collect{|card|card.number}+["!side"]).join("\r\n")}
format.ydk{render:text=>(["#created by ...","#main"]+main.collect{|card|card.number}+["#extra"]+extra.collect{|card|card.number}+["!side"]).join("\r\n")}