mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
that was not necessary
This commit is contained in:
parent
d5337eb75a
commit
3fdae6b99c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ defmodule PhilomenaWeb.Image.CommentController do
|
|||
# Undo the previous private parameter screwery
|
||||
plug PhilomenaWeb.LoadCommentPlug, [param: "id", show_hidden: true] when action in [:show]
|
||||
plug PhilomenaWeb.LoadCommentPlug, [param: "id"] when action in [:edit, :update]
|
||||
plug PhilomenaWeb.CanaryMapPlug, create: :create_comment, edit: :edit, update: :edit
|
||||
plug PhilomenaWeb.CanaryMapPlug, create: :create, edit: :edit, update: :edit
|
||||
|
||||
plug :authorize_resource,
|
||||
model: Comment,
|
||||
|
|
Loading…
Reference in a new issue