Mercurial > hg > soundsoftware-site
diff app/controllers/users_controller.rb @ 153:6bd9b26ebd07 feature_55
DEV commit - added new logic and view details.
author | luisf |
---|---|
date | Tue, 25 Jan 2011 14:57:50 +0000 |
parents | e6ed6c7a2ce9 |
children | e71a969c151a |
line wrap: on
line diff
--- a/app/controllers/users_controller.rb Mon Jan 24 13:52:04 2011 +0000 +++ b/app/controllers/users_controller.rb Tue Jan 25 14:57:50 2011 +0000 @@ -138,7 +138,12 @@ @notification_option = @user.mail_notification @ssamr_user_details = @user.ssamr_user_detail + @selected_institution_id = @user.ssamr_user_detail.institution_id.to_i + + if @institution_type == "other" + @selected_institution_id = 11 + end @auth_sources = AuthSource.find(:all) @membership ||= Member.new