-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix visiting landing page for same journey
Previously if a claimant started a journey then visited the landing page for that journey and choose to continue with their existing session we'd throw an error. The `other_journey_sessions` array contains the journey sessions for the other journeys, which if you're still on the same journey would be empty, so we need to check the current journey session (the session for the journey we're currently on). How we handle managing which journey you're on is subtle and spread across many places in the controllers / concerns, the overall approach likely needs revisiting.
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters