mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 14:47:58 +01:00
12 lines
274 B
Elixir
12 lines
274 B
Elixir
|
defmodule PhilomenaWeb.Api.Json.ThemeController do
|
||
|
use PhilomenaWeb, :controller
|
||
|
|
||
|
alias PhilomenaWeb.SettingView
|
||
|
|
||
|
def index(conn, _params) do
|
||
|
conn
|
||
|
|> put_resp_content_type("application/json")
|
||
|
|> send_resp(200, SettingView.theme_paths_json(conn))
|
||
|
end
|
||
|
end
|