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