Rename SubscriptionNotificationController list and get actions to index and show

This commit is contained in:
Roman Chvanikov 2019-09-17 16:48:24 +03:00
commit 7d1773bc6b
3 changed files with 13 additions and 13 deletions

View file

@ -273,8 +273,8 @@ defmodule Pleroma.Web.Router do
post("/clear", SubscriptionNotificationController, :clear)
post("/dismiss", SubscriptionNotificationController, :dismiss)
delete("/destroy_multiple", SubscriptionNotificationController, :destroy_multiple)
get("/", SubscriptionNotificationController, :list)
get("/:id", SubscriptionNotificationController, :get)
get("/", SubscriptionNotificationController, :index)
get("/:id", SubscriptionNotificationController, :show)
end
end