Redirect upload step #1323

Merged
enderahmetyurt merged 2 commits from import-view-right-place into main 2024-10-18 21:10:18 +08:00
enderahmetyurt commented 2024-10-17 23:48:31 +08:00 (Migrated from github.com)

Fix #1322

Fix #1322
Shpigford commented 2024-10-17 23:59:26 +08:00 (Migrated from github.com)

I agree with the bug, but we likely need a bit more nuance to where this redirects.

There's an uploaded? method on the Import model that checks for an uploaded file so maybe we need some sort of if/else or case statement to check for the current step and redirect to the appropriate one?

I agree with the bug, but we likely need a bit more nuance to *where* this redirects. There's an `uploaded?` method on the Import model that checks for an uploaded file so maybe we need some sort of if/else or case statement to check for the current step and redirect to the appropriate one?
enderahmetyurt commented 2024-10-18 13:31:57 +08:00 (Migrated from github.com)

Good point @Shpigford. How does it look now?

Good point @Shpigford. How does it look now?
Shpigford commented 2024-10-18 21:10:16 +08:00 (Migrated from github.com)

@enderahmetyurt Works for me! Thanks!

@enderahmetyurt Works for me! Thanks!
Sign in to join this conversation.