Skip to content

Do not redirect the user when loading terms of service or privacy policy pages #1094

Closed

Description

@joshsmith

Problem

Our onboarding flow right now redirects you from any route to the onboarding routes if you're in an onboarding state. This means that a user cannot access the terms of service or privacy policy when in this flow.

We should find a way to prevent these pages from ever redirecting on transition.

Activity

  1. begedin commented on Mar 20, 2017

    @begedin
    Contributor

    Solution

    The process is happening in the application route:

    https://github.com/code-corps/code-corps-ember/blob/develop/app/routes/application.js#L226

    • Add list of excluded routes to the process of deciding if user should be redirected to onboarding
    • Add tos and privacy routes to that list
    • Add tests to ensure these routes are excluded from redirection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions