demarches-normaliennes/app/controllers/email_checker_controller.rb

8 lines
164 B
Ruby
Raw Normal View History

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