15 lines
259 B
Ruby
15 lines
259 B
Ruby
|
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
|