Open-Source-Access-Control-.../app/controllers/registrations_controller.rb
2014-02-09 00:56:48 -07:00

15 lines
259 B
Ruby
Executable File

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