demarches-normaliennes/app/controllers/email_checker_controller.rb
2024-08-22 09:26:48 +02:00

7 lines
164 B
Ruby

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