summaryrefslogtreecommitdiff
path: root/users/app/controllers/v1
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-07-19 13:06:57 +0200
committerAzul <azul@leap.se>2013-07-24 10:56:45 +0200
commitc0527cc18788fc60180d9293a546c93e6a77b788 (patch)
tree73c04ded5655764c99f63c919bef6d9bbb8b613c /users/app/controllers/v1
parentc0b88d9e8fe574d6164f48211db50f3b8a4c4d93 (diff)
removed email settings controller and views
PGP setting has been moved into account settings. It's using the API now issueing an Ajax request without any visual feedback. This obviously is not what we want but it hopefully suffices for uploading gpg keys for testing purposes before the Identity UI is in place.
Diffstat (limited to 'users/app/controllers/v1')
-rw-r--r--users/app/controllers/v1/users_controller.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/users/app/controllers/v1/users_controller.rb b/users/app/controllers/v1/users_controller.rb
index fda56f2..467c9b4 100644
--- a/users/app/controllers/v1/users_controller.rb
+++ b/users/app/controllers/v1/users_controller.rb
@@ -24,9 +24,6 @@ module V1
def update
@user.update_attributes params[:user]
- if @user.valid?
- flash[:notice] = t(:user_updated_successfully)
- end
respond_with @user
end