class ZuoraConnect::StaticController
def launch
def launch @ids = JSON.parse(Base64.decode64(URI.decode(params["ids"]))) if @ids.count == 1 redirect_to :action => :switch, :commit => @ids[0][0] else respond_to do |format| format.html end end end
def launch @ids = JSON.parse(Base64.decode64(URI.decode(params["ids"]))) if @ids.count == 1 redirect_to :action => :switch, :commit => @ids[0][0] else respond_to do |format| format.html end end end