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