demarches-normaliennes/app/controllers/email_checker_controller.rb

5 lines
133 B
Ruby

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