chinwagsocial/app/views/settings/shared/_links.html.haml

10 lines
450 B
Text
Raw Normal View History

2016-10-14 11:28:49 +11:00
%ul.no-list
- if controller_name != 'profiles'
2016-11-16 09:02:57 +11:00
%li= link_to t('settings.edit_profile'), settings_profile_path
- if controller_name != 'follow_requests'
%li= link_to t('follow_requests.title'), follow_requests_path
2016-10-14 11:28:49 +11:00
- if controller_name != 'preferences'
2016-11-16 09:02:57 +11:00
%li= link_to t('settings.preferences'), settings_preferences_path
2016-10-14 11:28:49 +11:00
- if controller_name != 'registrations'
2016-11-16 09:02:57 +11:00
%li= link_to t('auth.change_password'), edit_user_registration_path