Mercurial > hg > soundsoftware-site
changeset 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 | d206f38ae405 |
children | 975e65e075d1 |
files | app/controllers/users_controller.rb |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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