mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
remove auth from notification read
This commit is contained in:
parent
bb4cbdb089
commit
8378e07bb8
2 changed files with 2 additions and 4 deletions
|
@ -5,7 +5,7 @@ defmodule PhilomenaWeb.Forum.ReadController do
|
|||
alias Philomena.Forums.Forum
|
||||
alias Philomena.Forums
|
||||
|
||||
plug :load_and_authorize_resource,
|
||||
plug :load_resource,
|
||||
model: Forum,
|
||||
id_name: "forum_id",
|
||||
id_field: "short_name",
|
||||
|
|
|
@ -5,9 +5,7 @@ defmodule PhilomenaWeb.Topic.ReadController do
|
|||
alias Philomena.Forums.Forum
|
||||
alias Philomena.Topics
|
||||
|
||||
plug PhilomenaWeb.CanaryMapPlug, create: :show
|
||||
|
||||
plug :load_and_authorize_resource,
|
||||
plug :load_resource,
|
||||
model: Forum,
|
||||
id_name: "forum_id",
|
||||
id_field: "short_name",
|
||||
|
|
Loading…
Reference in a new issue