mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-20 04:14:23 +01:00
rearrange plugs
This commit is contained in:
parent
a7d9386af8
commit
46602460ea
2 changed files with 2 additions and 2 deletions
|
@ -29,4 +29,4 @@ defmodule PhilomenaWeb.ApiTokenPlug do
|
||||||
|
|
||||||
Plug.assign_current_user(conn, user, config)
|
Plug.assign_current_user(conn, user, config)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -80,7 +80,7 @@ defmodule PhilomenaWeb.Router do
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/api/v1/rss", PhilomenaWeb.Api.Rss, as: :api_rss do
|
scope "/api/v1/rss", PhilomenaWeb.Api.Rss, as: :api_rss do
|
||||||
pipe_through [:accepts_rss, :protected, :api]
|
pipe_through [:accepts_rss, :api, :protected]
|
||||||
resources "/watched", WatchedController, only: [:index]
|
resources "/watched", WatchedController, only: [:index]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue