Skip to content

Commit

Permalink
Remove default nil value from ENV.fetch()
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Aug 28, 2023
1 parent b348061 commit 696a395
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/initializers/default_setting.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
class DefaultSetting
ERDBEERE_LINK = ENV.fetch('ERDBEERE_SERVER', nil)
MUESLI_LINK = ENV.fetch('MUESLI_SERVER', nil)
PROJECT_EMAIL = ENV.fetch('PROJECT_EMAIL', nil)
FEEDBACK_EMAIL = ENV.fetch('FEEDBACK_EMAIL', nil)
PROJECT_NOTIFICATION_EMAIL = ENV.fetch('PROJECT_NOTIFICATION_EMAIL', nil)
BLOG_LINK = ENV.fetch('BLOG', nil)
URL_HOST_SHORT = ENV.fetch('URL_HOST_SHORT', nil)
ERDBEERE_LINK = ENV.fetch('ERDBEERE_SERVER')
MUESLI_LINK = ENV.fetch('MUESLI_SERVER')
PROJECT_EMAIL = ENV.fetch('PROJECT_EMAIL')
FEEDBACK_EMAIL = ENV.fetch('FEEDBACK_EMAIL')
PROJECT_NOTIFICATION_EMAIL = ENV.fetch('PROJECT_NOTIFICATION_EMAIL')
BLOG_LINK = ENV.fetch('BLOG')
URL_HOST_SHORT = ENV.fetch('URL_HOST_SHORT')
RESEARCHGATE_LINK = 'https://www.researchgate.net/project/MaMpf-Mathematische-Medienplattform'
TOUR_LINK = 'https://mampf.blog/ueber-mampf/'
RESOURCES_LINK = 'https://mampf.blog/ressourcen-fur-editorinnen/'
Expand Down

0 comments on commit 696a395

Please sign in to comment.