summaryrefslogtreecommitdiff
path: root/users/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/controllers')
-rw-r--r--users/app/controllers/users_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/users/app/controllers/users_controller.rb b/users/app/controllers/users_controller.rb
index 24db13b..4921a4a 100644
--- a/users/app/controllers/users_controller.rb
+++ b/users/app/controllers/users_controller.rb
@@ -22,9 +22,7 @@ class UsersController < ApplicationController
end
def create
- if @user = User.create(params[:user])
- flash[:notice] = t(:user_created_successfully)
- end
+ @user = User.create(params[:user])
respond_with @user
end