# HG changeset patch # User luisf # Date 1292523407 0 # Node ID 0511601cda6be2840919f1779748dfe5f883dbda # Parent d206f38ae405c3c5d3e3c15f7fea6a4c6bd8be97 DEV commit: editing the show method in the users controller diff -r d206f38ae405 -r 0511601cda6b app/controllers/users_controller.rb --- 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