mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-21 05:43:12 +12:00
9 lines
200 B
Elixir
9 lines
200 B
Elixir
|
defmodule AshHqWeb.ImportController do
|
||
|
use AshHqWeb, :controller
|
||
|
|
||
|
def import(conn, %{"library" => library}) do
|
||
|
send_resp(conn, :ok, "")
|
||
|
AshHq.Docs.Importer.import(only: library)
|
||
|
end
|
||
|
end
|