diff app/controllers/account_controller.rb @ 192:d1713ab10813 feature_64

feature_64: link to terms and conditions wiki page; fixed form resubmission bug.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 07 Feb 2011 12:30:26 +0000
parents 39db1b84d09f
children 73ff0e6a11b1
line wrap: on
line diff
--- a/app/controllers/account_controller.rb	Thu Feb 03 17:11:33 2011 +0000
+++ b/app/controllers/account_controller.rb	Mon Feb 07 12:30:26 2011 +0000
@@ -108,7 +108,9 @@
 
         # associates the 2 objects
         @user.ssamr_user_detail = @ssamr_user_details
+        @selected_institution_id = params[:ssamr_user_details][:institution_id].to_i
 
+        
         case Setting.self_registration
         when '1'
           register_by_email_activation(@user)