about summary refs log tree commit diff
path: root/app/views/settings/shared/_links.html.haml
blob: 6490ffdd8682100874672a54863ef6a40bbc3aa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
%ul.no-list
  - if controller_name != 'profiles'
    %li= link_to t('settings.edit_profile'), settings_profile_path
  - if controller_name != 'preferences'
    %li= link_to t('settings.preferences'), settings_preferences_path
  - if controller_name != 'registrations'
    %li= link_to t('auth.change_password'), edit_user_registration_path
  - 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