|
|
|
@ -26,7 +26,7 @@ class HelpsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
def feedback
|
|
|
|
|
if params[:url].blank?
|
|
|
|
|
content = "<p>[#{params[:question_kind]}]</p></p>#{params[:description]}"
|
|
|
|
|
content = "<p>[#{params[:question_kind]}]</p><p>#{params[:description]}</p>"
|
|
|
|
|
if params[:attachment_ids]
|
|
|
|
|
params[:attachment_ids].each do |attachment_id|
|
|
|
|
|
content += "![](/api/attachments/#{attachment_id})\n"
|
|
|
|
|