From 3fdae6b99ccf701edd4c8b3070c0193ebc751256 Mon Sep 17 00:00:00 2001 From: Luna D Date: Sat, 22 Feb 2020 11:31:57 -0500 Subject: [PATCH] that was not necessary --- lib/philomena_web/controllers/image/comment_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/controllers/image/comment_controller.ex b/lib/philomena_web/controllers/image/comment_controller.ex index 13b7b92c..4fc55e4f 100644 --- a/lib/philomena_web/controllers/image/comment_controller.ex +++ b/lib/philomena_web/controllers/image/comment_controller.ex @@ -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,