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

GB-315/registration-referral-code #168

Closed
wants to merge 4 commits into from

Conversation

tomasdrga
Copy link
Contributor

@tomasdrga tomasdrga commented Feb 18, 2024

  • pridal som hidden_field_tag referral_code, v prvom kroku registrácie, ktorý berie buď referral_code z query alebo z cookies
  • odstránil som hidden_field_tag referral_code z posledného kroku registrácie

@@ -1,3 +1,4 @@
<%= hidden_field_tag :mode, params[:mode], value: params[:mode] || 'sync_mode' %>
<%= hidden_field_tag :referral_code, params[:referral_code], value: params[:referral_code] || cookies[:ref] %>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Toto sa mi vobec nepaci, co je vlastne problem ze sa ta cookie nenastavi v prvom rade?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevsimol som si, ze uz to je v podstate vyriesene len parameter musi mat format ref nie referral_code, cize toto uzavriem

@tomasdrga tomasdrga closed this Feb 23, 2024
@tomasdrga tomasdrga deleted the GB-315/registration-referral-code branch February 23, 2024 10:08
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

Successfully merging this pull request may close these issues.

2 participants