summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/sign_ups_controller.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/sign_ups_controller.rb b/app/controllers/sign_ups_controller.rb
index a7ed5d3..06a0719 100644
--- a/app/controllers/sign_ups_controller.rb
+++ b/app/controllers/sign_ups_controller.rb
@@ -6,13 +6,10 @@ class SignUpsController < ApplicationController
def create
@sign_up = SignUp.create(sign_up_params)
- logger.info("saving new sign up for #{@sign_up.email}")
if @sign_up.save
- logger.info("attempting to subscribe #{@sign_up.email}")
@sign_up.subscribe
redirect_to @sign_up
else
- logger.info("could not save #{@sign_up.email}")
render action: "new"
end
end