Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not show Follow up link in new search scheme

  • Loading branch information...
commit ab3b2f25045dc10c640fe3fc6c82ada68de8e8d0 1 parent 5e6eac2
Alex Bredariol Grilo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/questions/show.html.haml
View
4 app/views/questions/show.html.haml
@@ -63,8 +63,8 @@
- if logged_in?
- if (@question.wiki && current_user.can_edit_wiki_post_on?(@question.group)) || current_user.can_edit_others_posts_on?(@question.group) || current_user.can_modify?(@question)
= link_to t('scaffold.edit'), edit_question_path(@question), :class => "button"
-
- = link_to t('.add_follow_up_question'), new_question_path(:question => @follow_up_question), :target => '_blank', :class => 'featured'
+ - if ab_test(:new_question_as_search) == :old_search_scheme
+ = link_to t('.add_follow_up_question'), new_question_path(:question => @follow_up_question), :target => '_blank', :class => 'featured'
#question_flag_div
Please sign in to comment.
Something went wrong with that request. Please try again.