mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-17 11:04:22 +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)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -80,7 +80,7 @@ defmodule PhilomenaWeb.Router do
|
|||
end
|
||||
|
||||
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]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue