metamaps--metamaps/app/controllers/registrations_controller.rb
2015-09-19 16:26:34 +08:00

10 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