retrospring/app/controllers/settings/export_controller.rb
2024-09-05 10:23:01 +02:00

13 lines
268 B
Ruby

# frozen_string_literal: true
class Settings::ExportController < ApplicationController
before_action :authenticate_user!
def index
flash[:info] = t(".info") if current_user.export_processing
end
def create
redirect_to settings_export_path
end
end