diff options
| author | Rosemary Sanchez <rsanchez@madebyuppercut.com> | 2013-07-19 15:16:11 -0600 |
|---|---|---|
| committer | Rosemary Sanchez <rsanchez@madebyuppercut.com> | 2013-07-19 15:16:11 -0600 |
| commit | c2156d0da03d5a2fb6383c1a1ad411a2de230e9b (patch) | |
| tree | 5eb1f82b7840f45155bfca9b4c0d751ba0b14130 /app/controllers | |
| parent | 1762497db42118c77c7737522fe931cd91bb4af8 (diff) | |
Sign up model now with email validation.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/sign_ups_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/sign_ups_controller.rb b/app/controllers/sign_ups_controller.rb index 7b03639..fd053f9 100644 --- a/app/controllers/sign_ups_controller.rb +++ b/app/controllers/sign_ups_controller.rb @@ -8,6 +8,8 @@ class SignUpsController < ApplicationController if @sign_up.save redirect_to @sign_up + else + render action: "new" end end |
