2019-11-13 17:28:02 +01:00
|
|
|
defmodule PhilomenaWeb.CaptchaController do
|
|
|
|
use PhilomenaWeb, :controller
|
|
|
|
|
|
|
|
alias Philomena.Captcha
|
|
|
|
|
|
|
|
def create(conn, _params) do
|
|
|
|
captcha = Captcha.create()
|
|
|
|
|
|
|
|
render(conn, "create.html", captcha: captcha, layout: false)
|
|
|
|
end
|
2020-01-11 05:20:19 +01:00
|
|
|
end
|