From 17f61fb8ea3ba72cf23ba460b1477f6d45396466 Mon Sep 17 00:00:00 2001 From: briri Date: Thu, 5 Dec 2024 15:24:36 -0800 Subject: [PATCH 1/2] update app name in email helper --- app/helpers/mailer_helper.rb | 2 +- config/dmproadmap.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/mailer_helper.rb b/app/helpers/mailer_helper.rb index 863ecea98..e12cf2d52 100644 --- a/app/helpers/mailer_helper.rb +++ b/app/helpers/mailer_helper.rb @@ -5,7 +5,7 @@ module MailerHelper include PermsHelper def tool_name - @tool_name ||= ApplicationService.application_name + @tool_name ||= Rails.configuration.x.dmproadmap.application_name end def helpdesk_email(org: nil) diff --git a/config/dmproadmap.yml b/config/dmproadmap.yml index 478499f72..ed262377c 100644 --- a/config/dmproadmap.yml +++ b/config/dmproadmap.yml @@ -287,7 +287,7 @@ default: &default # This name is used throughout the system to identify your application. (e.g. in # email communications, API calls to external systems, etc.) # NOTE - This name must match the Google Analytics Tracker in this file! - application_name: "MyApp" + application_name: "DMPTool" # The :from email address used in emails sent by the application application_do_not_reply_email: "do-not-reply-my-app-dev@cdlib.org" # The helpdesk email From 39de6f57cb2cff3349d832808e16f0b5102220e1 Mon Sep 17 00:00:00 2001 From: briri Date: Thu, 5 Dec 2024 15:27:27 -0800 Subject: [PATCH 2/2] fix name --- config/dmproadmap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dmproadmap.yml b/config/dmproadmap.yml index ed262377c..45b6b9f93 100644 --- a/config/dmproadmap.yml +++ b/config/dmproadmap.yml @@ -287,7 +287,7 @@ default: &default # This name is used throughout the system to identify your application. (e.g. in # email communications, API calls to external systems, etc.) # NOTE - This name must match the Google Analytics Tracker in this file! - application_name: "DMPTool" + application_name: "DMP Tool" # The :from email address used in emails sent by the application application_do_not_reply_email: "do-not-reply-my-app-dev@cdlib.org" # The helpdesk email