diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-03-02 18:04:36 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-03-02 18:04:36 -0500 |
commit | 2426a2b1e5b6811f47f0a05dd66a001fdd117450 (patch) | |
tree | 77d0e50cf24c4a7740b2dccd9aa3538a3b402f1a /app | |
parent | c8f60811cf0b748b237b71908640699816aebce8 (diff) |
fixed an issue in user controller
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/users_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 24d319a..74ab72c 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -7,8 +7,7 @@ class UsersController < ApplicationController @user = User.new(user_params) if @user.save sign_in @user - flash[:success] = "Welcome to the Sample App!" - redirect_to @user + #redirect_to @user else render 'new' end |