diff options
Diffstat (limited to 'app/views/settings/shared/_links.html.haml')
-rw-r--r-- | app/views/settings/shared/_links.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/settings/shared/_links.html.haml b/app/views/settings/shared/_links.html.haml index a6e90f457..6490ffdd8 100644 --- a/app/views/settings/shared/_links.html.haml +++ b/app/views/settings/shared/_links.html.haml @@ -5,4 +5,6 @@ %li= link_to t('settings.preferences'), settings_preferences_path - if controller_name != 'registrations' %li= link_to t('auth.change_password'), edit_user_registration_path - %li= link_to t('settings.back'), root_path \ No newline at end of file + - if controller_name != 'two_factor_auths' + %li= link_to t('settings.two_factor_auth'), settings_two_factor_auth_path + %li= link_to t('settings.back'), root_path |