[ARVADOS] updated: b3d92b09ab0e06c1719d541d4704ec89113ee3cd

git at public.curoverse.com git at public.curoverse.com
Mon Aug 4 21:54:40 EDT 2014


Summary of changes:
 apps/workbench/app/controllers/users_controller.rb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

       via  b3d92b09ab0e06c1719d541d4704ec89113ee3cd (commit)
      from  d0930bfe4226ba361a5b1087b01946130f8282fd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b3d92b09ab0e06c1719d541d4704ec89113ee3cd
Author: radhika <radhika at curoverse.com>
Date:   Mon Aug 4 21:49:23 2014 -0400

    3296: redirect to the page that resulted in manage profile page

diff --git a/apps/workbench/app/controllers/users_controller.rb b/apps/workbench/app/controllers/users_controller.rb
index 96c183d..a880adc 100644
--- a/apps/workbench/app/controllers/users_controller.rb
+++ b/apps/workbench/app/controllers/users_controller.rb
@@ -307,11 +307,9 @@ class UsersController < ApplicationController
       end
     end
 
-    # current_user.update_attributes! prefs: @current_user_profile
     current_user.update_profile updated_profile
-
-    respond_to do |f|
-      f.html { render template: 'users/profile' }
+    respond_to do |format|
+      format.js {render inline: "location.reload();"}
     end
   end
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list