demarches-normaliennes/app/controllers/email_checker_controller.rb

8 lines
179 B
Ruby
Raw Normal View History

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