Sha256: e29f6397e2916d79b15b078e97bc3db82fdbed4475428aae6de85fe0018c7090
Contents?: true
Size: 584 Bytes
Versions: 42
Compression:
Stored size: 584 Bytes
Contents
module Virgo class Users::ConfirmationsController < Devise::ConfirmationsController def create self.resource = resource_class.send_confirmation_instructions(resource_params) if successfully_sent?(resource) respond_with({}, :location => virgo.after_resending_confirmation_instructions_path_for(resource_name)) else respond_with(resource) end end def resource_params params[:user].present? ? params.require(:user).permit(:email, :login, :password, :password_confirmation, :reset_password_token) : {} end end end
Version data entries
42 entries across 42 versions & 1 rubygems