Use existing config access to local_domain
value (#30509)
This commit is contained in:
parent
974335e414
commit
249cbc449c
5 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
- if self_destruct?
|
||||
.flash-message.warning
|
||||
= t('auth.status.self_destruct', domain: ENV.fetch('LOCAL_DOMAIN'))
|
||||
= t('auth.status.self_destruct', domain: Rails.configuration.x.local_domain)
|
||||
- else
|
||||
= render partial: 'status', locals: { user: @user, strikes: @strikes }
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
.simple_form
|
||||
%h1.title= t('self_destruct.title')
|
||||
%p.lead= t('self_destruct.lead_html', domain: ENV.fetch('LOCAL_DOMAIN'))
|
||||
%p.lead= t('self_destruct.lead_html', domain: Rails.configuration.x.local_domain)
|
||||
|
||||
.form-footer
|
||||
%ul.no-list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue