|
|
|
@ -19,7 +19,7 @@ if @type == "image"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
elsif @type == "html"
|
|
|
|
|
json.iframe_src html_show_users_path(:path => "#{@user_path}/#{@user_picture[0]}")
|
|
|
|
|
json.iframe_src File.read("#{@user_path}/#{@user_picture[0]}")&.html_safe
|
|
|
|
|
elsif @type == "txt"
|
|
|
|
|
json.contents @contents.html_safe
|
|
|
|
|
elsif @type =="qrcode"
|
|
|
|
|