Mercurial > hg > soundsoftware-site
diff app/controllers/users_controller.rb @ 104:0511601cda6b luisf
DEV commit: editing the show method in the users controller
author | luisf |
---|---|
date | Thu, 16 Dec 2010 18:16:47 +0000 |
parents | e408a3f7089f |
children | 361f1e8b2e23 |
line wrap: on
line diff
--- a/app/controllers/users_controller.rb Thu Dec 16 17:46:01 2010 +0000 +++ b/app/controllers/users_controller.rb Thu Dec 16 18:16:47 2010 +0000 @@ -54,6 +54,9 @@ if @user.ssamr_user_detail != nil @description = @user.ssamr_user_detail.description + if @user.ssamr_user_detail.institution_id != nil + @institution = @institution.find(@user.ssamr_user_detail.institution_id) + end end # show projects based on current user visibility