2014-01-21 04:51:49 +00:00
|
|
|
-set_meta_tags title: title_object(@user)
|
2011-03-31 00:10:23 +01:00
|
|
|
|
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
|