summaryrefslogtreecommitdiff
path: root/app/controllers/registrations_controller.rb
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-05-25 19:35:51 -0600
committermo k <mo@mokhan.ca>2012-05-25 19:35:51 -0600
commitcf4f7ff7f6fbfcdcd4abad8b1493103fe6206f4f (patch)
tree0a3f0e66e7273a2c1596ec9819f6e6cfa1ccbb6d /app/controllers/registrations_controller.rb
parent26d503eab23349ee9fb90ef956dc5dd681dc7ef8 (diff)
start building specs for registration controller.
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r--app/controllers/registrations_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index 97bf7375..02b68144 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -4,6 +4,8 @@ class RegistrationsController < Devise::RegistrationsController
end
def update
+ params "PARAMS: #{params[:user]}"
+ logger.info("PARAMS: #{params[:user]}")
@user = current_user
if params[:user][:password].blank?
if @user.update_without_password(params[:user])