mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 15:23:36 +01:00
Improve export processing condition on index view
This commit is contained in:
parent
46f99b5f01
commit
58d91c9c46
1 changed files with 1 additions and 3 deletions
|
@ -4,9 +4,7 @@ class Settings::ExportController < ApplicationController
|
||||||
before_action :authenticate_user!
|
before_action :authenticate_user!
|
||||||
|
|
||||||
def index
|
def index
|
||||||
if current_user.export_processing
|
flash[:info] = t(".info") if current_user.export_processing
|
||||||
flash[:info] = t(".info")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def create
|
def create
|
||||||
|
|
Loading…
Reference in a new issue