mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
use as internal API
This commit is contained in:
parent
0d21e49fff
commit
d695bf18f0
2 changed files with 3 additions and 3 deletions
|
@ -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
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue