app/controllers/event_service/feedbacks_controller.rb
def feedback_params
      params[:feedback].permit(
        :email,
        :issue,
        :task,
        :url,
        :referer,
        :browser,
        attachment_ids: [],
      ).to_h.symbolize_keys
    end
# This controller does not have CSRF check by purpose!
# This is to avoid blocking feedbacks in case of any issue with CSRF protection
This controller does not have CSRF check by purpose.
This is to avoid blocking feedbacks in case of any issue with CSRF protection
This controller does not have CSRF check by purpose . This is to avoid blocking feedbacks in case of any issue with CSRF protection
def feedback_params
      params[:feedback].permit(
        :email,
        :issue,
        :task,
        :url,
        :referer,
        :browser,
        attachment_ids: [],
      ).to_h.symbolize_keys
    end
def feedback_params params [ :feedback ] . permit ( :email , :issue , :task , :url , :referer , :browser , attachment_ids : [ ] , ) . to_h . symbolize_keys end
This controller does not have CSRF check by purpose!
This controller does not have CSRF check by purpose!