rosa-build/app/views/users/profile/show.html.haml

10 lines
464 B
Plaintext
Raw Normal View History

2014-01-21 04:51:49 +00:00
-set_meta_tags title: title_object(@user)
2013-08-22 14:55:44 +01:00
- edit_url = can?(:edit, @user) ? (current_user == @user ? profile_settings_path : edit_admin_user_path(@user)) : nil
2014-01-21 04:51:49 +00:00
= render 'shared/profile', uname: @user.uname,
name: @user.name,
user: @user,
search_path: user_path,
projects: @projects,
edit_url: edit_url