Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop redirecting /tea_times/123 links on /tea_times page for signed out users #747

Open
ankitshah811 opened this issue Jun 26, 2018 · 0 comments
Assignees

Comments

@ankitshah811
Copy link
Member

The link to a tea time via /tea_times for users that aren't signed in should be the same as it is for users who are signed in

Present behavior:

  • When user is signed out, links to any specific tea time via /tea_times look like this: http://www.teawithstrangers.com/signup?city_id=1&redirect_to_tt=2729
  • When user is signed in, links to any specific tea time via /tea_times look like this: http://www.teawithstrangers.com/tea_times/2729
  • When user is signed out, a specific tea time page (e.g. /tea_times/123) displays a button to sign up for TWS
  • When user is signed in, a specific tea time page (e.g. /tea_times/123) displays a form that is populated with user info and button to register for tea time

Desired behavior:

  • Whether user is signed in or signed out, link to any specific tea time via /tea_times go straight to the tea time page (no redirect)
  • On the specific tea time page /tea_times/123 page, users who are signed out and users that are signed in should experience the existing behavior (i.e. no change)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants