mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
11 lines
241 B
Elixir
11 lines
241 B
Elixir
|
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
|
||
|
end
|