Skip to content

Commit

Permalink
move fresh_sevice_new_ticket_url to <env>.rb, not application.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
harrietc52 committed Oct 10, 2024
1 parent 6769196 commit e0ee9ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@
config.active_support.test_order = :random

config.admin_email = "[email protected]"

# FreshService URL
config.fresh_sevice_new_ticket_url = "https://sanger.freshservice.com/a/tickets/new"
end

0 comments on commit e0ee9ea

Please sign in to comment.