Lots of styling; avatars, payment methods, and more.
This commit is contained in:
14
app/controllers/registrations_controller.rb
Normal file
14
app/controllers/registrations_controller.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class RegistrationsController < Devise::RegistrationsController
|
||||
protected
|
||||
|
||||
# After signup
|
||||
def after_sign_up_path_for(resource)
|
||||
'/users/edit/?flash=welcome_msg'
|
||||
end
|
||||
|
||||
# After edit
|
||||
def after_update_path_for(resource)
|
||||
'/users/edit'
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user