mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 21:33:10 +12:00
8 lines
200 B
Elixir
8 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
|