diff --git a/config/initializers/hyrax.rb b/config/initializers/hyrax.rb index 39be992ce..ffa66f02b 100644 --- a/config/initializers/hyrax.rb +++ b/config/initializers/hyrax.rb @@ -4,7 +4,7 @@ config.register_curation_concern :image # Email recipient of messages sent via the contact form - # config.contact_email = "repo-admin@example.org" + config.contact_email = Settings.contact_email # Text prefacing the subject entered in the contact form # config.subject_prefix = "Contact form:" diff --git a/config/settings.yml b/config/settings.yml index 50ba705f6..4f5a7c39d 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -1,5 +1,5 @@ # These settings can also be provided as environment variables, in the form, e.g.: -# SETTING__ACTIVE_JOB_QUEUE__URL=http://... +# SETTINGS__ACTIVE_JOB_QUEUE__URL=http://... # # The mapping is described in `./config/initializers/config.rb`. # @@ -54,3 +54,5 @@ google_analytics_id: # Register here: http://www.geonames.org/manageaccount geonames_username: 'jcoyne' + +contact_email: ""