mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Use ENV.fetch
in views, fixes rubocop haml-lint issue (#27527)
This commit is contained in:
parent
4fdc548fa5
commit
e923bb9ec9
@ -3,7 +3,7 @@
|
||||
|
||||
- if self_destruct?
|
||||
.flash-message.warning
|
||||
= t('auth.status.self_destruct', domain: ENV['LOCAL_DOMAIN'])
|
||||
= t('auth.status.self_destruct', domain: ENV.fetch('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['LOCAL_DOMAIN'])
|
||||
%p.lead= t('self_destruct.lead_html', domain: ENV.fetch('LOCAL_DOMAIN'))
|
||||
|
||||
.form-footer
|
||||
%ul.no-list
|
||||
|
Loading…
Reference in New Issue
Block a user