From e0ee9ead77e73cc67428883bdf8607d70f5be35c Mon Sep 17 00:00:00 2001 From: Harriet Craven Date: Thu, 10 Oct 2024 12:44:34 +0100 Subject: [PATCH] move fresh_sevice_new_ticket_url to .rb, not application.rb --- config/application.rb | 3 --- config/environments/development.rb | 3 +++ config/environments/test.rb | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/application.rb b/config/application.rb index 40c89581..34ef2518 100644 --- a/config/application.rb +++ b/config/application.rb @@ -29,9 +29,6 @@ class Application < Rails::Application config.assets.enabled = true config.assets.version = "1.0" - # FreshService URL - config.fresh_sevice_new_ticket_url = "https://sanger.freshservice.com/a/tickets/new" - require "./lib/deployed_version" def self.application_string diff --git a/config/environments/development.rb b/config/environments/development.rb index ef3587b2..3e279a34 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -50,4 +50,7 @@ # Use an evented file watcher to asynchronously detect changes in source code, # routes, locales, etc. This feature depends on the listen gem. config.file_watcher = ActiveSupport::EventedFileUpdateChecker + + # FreshService URL + config.fresh_sevice_new_ticket_url = "https://sanger.freshservice.com/a/tickets/new" end diff --git a/config/environments/test.rb b/config/environments/test.rb index 83e47e9f..fc5cd172 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -42,4 +42,7 @@ config.active_support.test_order = :random config.admin_email = "example@example.com" + + # FreshService URL + config.fresh_sevice_new_ticket_url = "https://sanger.freshservice.com/a/tickets/new" end