diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-17 10:55:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 10:55:23 +0100 |
commit | 00b2720ef08e91bee88cd24da7eb2ba836a7a10f (patch) | |
tree | aef293a859fb1363f458bfddb00dcd94040c4a46 /config | |
parent | 7955d4b9592a099a8da3374175461b3aa3057c61 (diff) |
Change automatic post deletion configuration to be accessible to redirected users (#20774)
Fixes #20550
Diffstat (limited to 'config')
-rw-r--r-- | config/navigation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/navigation.rb b/config/navigation.rb index e901fb932..30817d025 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -17,7 +17,7 @@ SimpleNavigation::Configuration.run do |navigation| n.item :relationships, safe_join([fa_icon('users fw'), t('settings.relationships')]), relationships_path, if: -> { current_user.functional? } n.item :filters, safe_join([fa_icon('filter fw'), t('filters.index.title')]), filters_path, highlights_on: %r{/filters}, if: -> { current_user.functional? } - n.item :statuses_cleanup, safe_join([fa_icon('history fw'), t('settings.statuses_cleanup')]), statuses_cleanup_path, if: -> { current_user.functional? } + n.item :statuses_cleanup, safe_join([fa_icon('history fw'), t('settings.statuses_cleanup')]), statuses_cleanup_path, if: -> { current_user.functional_or_moved? } n.item :security, safe_join([fa_icon('lock fw'), t('settings.account')]), edit_user_registration_path do |s| s.item :password, safe_join([fa_icon('lock fw'), t('settings.account_settings')]), edit_user_registration_path, highlights_on: %r{/auth/edit|/settings/delete|/settings/migration|/settings/aliases|/settings/login_activities|^/disputes} |