Commit d39439c0 authored by Marius Bobin's avatar Marius Bobin

Use Rails env as a placeholder for Sentry env

parent 838b4726
...@@ -17,6 +17,6 @@ ...@@ -17,6 +17,6 @@
= f.text_field :sentry_clientside_dsn, class: 'form-control gl-form-input', placeholder: 'https://public@sentry.example.com/2' = f.text_field :sentry_clientside_dsn, class: 'form-control gl-form-input', placeholder: 'https://public@sentry.example.com/2'
.form-group .form-group
= f.label :sentry_environment, _('Environment'), class: 'label-light' = f.label :sentry_environment, _('Environment'), class: 'label-light'
= f.text_field :sentry_environment, class: 'form-control gl-form-input', placeholder: 'production' = f.text_field :sentry_environment, class: 'form-control gl-form-input', placeholder: Rails.env
= f.submit _('Save changes'), class: 'gl-button btn btn-confirm' = f.submit _('Save changes'), class: 'gl-button btn btn-confirm'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment