summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-07-23 15:50:08 -0600
committermo khan <mo@mokhan.ca>2013-07-23 15:50:08 -0600
commit3459ce6802492660c2fa321db0278a68d7025d30 (patch)
tree37e958afd7c741cc3aedb91da5a9c0bc4455177f
parent6e3421a1855df392ed1afea8c1f16d04c0bc1a4f (diff)
remove logging
-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