You can export a user's data here. Currently we only support exporting a user's posts and comments.
You have the option of exporting to your admin account to send to the user, or exporting to the user directly.
Exporting the data to your admin account will send it to your contact
admin email (<%= ForemInstance.email %>),
and exporting to the user will send it to their email (<%= @user.email %>).
<%= button_to "Export to Admin", export_data_admin_user_path(@user.id), data: { confirm: "Are you sure you want to export this user's content to the ADMIN?" }, class: "crayons-btn", params: { send_to_admin: true }, style: "margin-right: 8px;" %>
<%= button_to "Export to User", export_data_admin_user_path(@user.id), data: { confirm: "Are you sure you want to export this user's content to the USER?" }, class: "crayons-btn", params: { send_to_admin: false } %>