<% if !@tfa.used after = @tfa.after.split("##") @method = after[0].to_sym @url = after[1] @http_params = {} @http_params = after[2].split(",").map{|i|i.split(":").length==2 ? i.split(":") : [i.reverse.sub(":","").reverse, ""]}.to_h if after[2] end %> <% tfa_phone_arr = @tfa.phone.split("") @tfa_phone = "#{tfa_phone_arr[0..1].join} (#{tfa_phone_arr[2..4].join}) *** **#{tfa_phone_arr[10..11].join}" %> <%= render partial: 'tfa/tfas/show' %>