From 43b80f13b3fbbdee2d3e9cf802efd17c6c190026 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Thu, 7 Feb 2019 15:46:16 -0600 Subject: [PATCH] If you change a campaign slug, we redirect to the proper page --- app/views/campaigns/_settings_modal.html.erb | 3 ++- client/js/common/autosubmit.js | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/campaigns/_settings_modal.html.erb b/app/views/campaigns/_settings_modal.html.erb index 3775f639..f378e66f 100644 --- a/app/views/campaigns/_settings_modal.html.erb +++ b/app/views/campaigns/_settings_modal.html.erb @@ -3,7 +3,8 @@ <%= render 'common/modal_header', title: 'Campaign Settings' %> -
+ + <% if @campaign.child_campaign? %>