diff --git a/app/controllers/settings/export_controller.rb b/app/controllers/settings/export_controller.rb index 6fa05b67..5656e614 100644 --- a/app/controllers/settings/export_controller.rb +++ b/app/controllers/settings/export_controller.rb @@ -4,9 +4,7 @@ class Settings::ExportController < ApplicationController before_action :authenticate_user! def index - if current_user.export_processing - flash[:info] = t(".info") - end + flash[:info] = t(".info") if current_user.export_processing end def create