Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Redirect upload step (#1323)

Ender Ahmet Yurt4a3685f5033f
diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb
index ef374f6c..8d311215 100644
--- a/app/controllers/imports_controller.rb
+++ b/app/controllers/imports_controller.rb
@@ -24,7 +24,11 @@ class ImportsController < ApplicationController
end
def show
- redirect_to import_confirm_path(@import), alert: "Please finalize your mappings before proceeding." unless @import.publishable?
+ redirect_to import_upload_path(@import), alert: "Please finalize your file upload."
+ redirect_to import_confirm_path(@import), alert: "Please finalize your mappings before proceeding."
+ end
end
def destroy