diff --git a/app/controllers/stash_engine/admin_datasets_controller.rb b/app/controllers/stash_engine/admin_datasets_controller.rb index 2761786fc1..a9daa3cd6d 100644 --- a/app/controllers/stash_engine/admin_datasets_controller.rb +++ b/app/controllers/stash_engine/admin_datasets_controller.rb @@ -109,7 +109,7 @@ def create_salesforce_case # redirect to it sf_url = Stash::Salesforce.case_view_url(case_id: sf_case_id) - redirect_to sf_url + redirect_to(sf_url, allow_other_host: true) end private diff --git a/app/views/stash_engine/admin_datasets/activity_log.html.erb b/app/views/stash_engine/admin_datasets/activity_log.html.erb index 1999a59987..4005076f04 100644 --- a/app/views/stash_engine/admin_datasets/activity_log.html.erb +++ b/app/views/stash_engine/admin_datasets/activity_log.html.erb @@ -48,7 +48,7 @@

Salesforce cases


- <%= button_to "Create salesforce case", + <%= button_to "Create SF case", stash_url_helpers.create_salesforce_case_path(id: @identifier&.id, only_path: false), method: :get, class: 'o-button__submit',