demarches-normaliennes/app/controllers/email_checker_controller.rb
2024-10-18 16:22:13 +02:00

7 lines
179 B
Ruby

# frozen_string_literal: true
class EmailCheckerController < ApplicationController
def show
render json: EmailChecker.check(email: params.permit(:email)[:email])
end
end