retrospring/app/controllers/settings/export_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
268 B
Ruby
Raw Normal View History

# 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