class Devise::RegistrationCustomController < DeviseTokenAuth::RegistrationsController
	def create
		super
	end

	def destroy
		super
	end

	def update
		super
	end

	def sign_up_params
		params.permit(:email, :password, :password_validation, :name, :father_last_name, :mother_last_name, :dependence_id, :user_role_id)
	end
end

class Devise::RegistrationCustomController < DeviseTokenAuth::RegistrationsController
	def create
		super
	end

	def destroy
		super
	end

	def update
		super
	end

	def sign_up_params
		params.permit(:email, :password, :password_validation, :name, :father_last_name, :mother_last_name, :dependence_id, :user_role_id)
	end

	private
	def render_create_success
		render json: {
			status: 'success',
			user:   resource_data
		}
	end
end

Update render for create success
Update render for create success
