about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:18:30 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:18:30 +0100
commit02696a063eabec1715c4d0b359744fef10049486 (patch)
tree650e285c34e49c9ecbdb8c8730575f7c6571b79e /app/controllers
parent9d55529318a285ced484b9216df9064914d6f790 (diff)
Change default avatar, redirect to home after sign up
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/auth/registrations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb
index 3114ae60a..5e1f5214b 100644
--- a/app/controllers/auth/registrations_controller.rb
+++ b/app/controllers/auth/registrations_controller.rb
@@ -17,6 +17,6 @@ class Auth::RegistrationsController < Devise::RegistrationsController
   end
 
   def after_sign_up_path_for(resource)
-    account_path(resource.account)
+    root_path
   end
 end