• Dallas Reedy's avatar
    Move more logic out of the view & back into the helper · 8cb327ea
    Dallas Reedy authored
    Reduce the logic necessary for the view down to two helpers:
    
    1. show_trial_status_widget?(group)
    1. trial_status_widget_experiment_enabled?(group) ← has a side effect
    
    Also fixed the `new_subscriptions_path` to use the root_group rather
    than the group.
    8cb327ea
trial_status_widget_helper.rb 1 KB