projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0930bf
)
3296: redirect to the page that resulted in manage profile page
author
radhika <radhika@curoverse.com>
Tue, 5 Aug 2014 01:49:23 +0000
(21:49 -0400)
committer
radhika <radhika@curoverse.com>
Tue, 5 Aug 2014 01:49:23 +0000
(21:49 -0400)
apps/workbench/app/controllers/users_controller.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/controllers/users_controller.rb
b/apps/workbench/app/controllers/users_controller.rb
index 96c183daf9c4a8a4a35601c409e7a8ee8ebeecc3..a880adc274b43bd57c12a55e3b8511624ffc2d10 100644
(file)
--- 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