summaryrefslogtreecommitdiff
path: root/app/controllers/users_controller.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:31:47 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:31:47 +0100
commit6f69c1a85055ec7c2515719d79d2a7a4e60cec50 (patch)
tree6c88289c9f99be0af8635636fcdf64102090e5ec /app/controllers/users_controller.rb
parent343f8028a226e2239207194a13890454c696cd38 (diff)
UI improvements.
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r--app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 7af8e68..584d08c 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -52,7 +52,7 @@ class UsersController < ApplicationController
def destroy
@user.destroy
- redirect_to @parent, :notice => t('users.controller.successfuly_destroyed')
+ redirect_to :back, :notice => t('users.controller.successfuly_destroyed')
end
def destroy_avatar