11 lines
257 B
Ruby
11 lines
257 B
Ruby
|
class Users::RegistrationsController < Devise::RegistrationsController
|
||
|
protected
|
||
|
def after_sign_up_path_for(resource)
|
||
|
signed_in_root_path(resource)
|
||
|
end
|
||
|
|
||
|
def after_update_path_for(resource)
|
||
|
signed_in_root_path(resource)
|
||
|
end
|
||
|
end
|