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

8 lines
308 B
Text
Raw Normal View History

2016-10-14 11:28:49 +11:00
%ul.no-list
- if controller_name != 'profiles'
%li= link_to "Edit profile", settings_profile_path
- if controller_name != 'preferences'
%li= link_to "Preferences", settings_preferences_path
- if controller_name != 'registrations'
%li= link_to "Change password", edit_user_registration_path