use as internal API

This commit is contained in:
Liam 2024-12-20 14:10:55 -05:00
parent 0d21e49fff
commit d695bf18f0
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
defmodule PhilomenaWeb.Api.Json.ThemeController do defmodule PhilomenaWeb.ThemeController do
use PhilomenaWeb, :controller use PhilomenaWeb, :controller
alias PhilomenaWeb.SettingView alias PhilomenaWeb.SettingView

View file

@ -157,8 +157,6 @@ defmodule PhilomenaWeb.Router do
resources "/posts", Forum.Topic.PostController, only: [:show, :index] resources "/posts", Forum.Topic.PostController, only: [:show, :index]
end end
end end
resources "/themes", ThemeController, only: [:index]
end end
scope "/", PhilomenaWeb do scope "/", PhilomenaWeb do
@ -492,6 +490,8 @@ defmodule PhilomenaWeb.Router do
resources "/tags", TagController, only: [:index] resources "/tags", TagController, only: [:index]
end end
resources "/themes", ThemeController, only: [:index]
resources "/tags", TagController, only: [:index, :show] do resources "/tags", TagController, only: [:index, :show] do
resources "/tag_changes", Tag.TagChangeController, only: [:index] resources "/tag_changes", Tag.TagChangeController, only: [:index]
end end